5#ifndef RUNTIME_BIN_EVENTHANDLER_LINUX_H_
6#define RUNTIME_BIN_EVENTHANDLER_LINUX_H_
8#if !defined(RUNTIME_BIN_EVENTHANDLER_H_)
9#error Do not include eventhandler_linux.h directly; use eventhandler.h instead.
14#include <sys/socket.h>
23class DescriptorInfo :
public DescriptorInfoBase {
40class DescriptorInfoSingle :
public DescriptorInfoSingleMixin<DescriptorInfo> {
50class DescriptorInfoMultiple
51 :
public DescriptorInfoMultipleMixin<DescriptorInfo> {
61class EventHandlerImplementation {
76 void HandleEvents(
struct epoll_event* events,
int size);
78 void WakeupHandler(intptr_t
id,
Dart_Port dart_port, int64_t
data);
79 void HandleInterruptFd();
81 void SetPort(intptr_t fd,
Dart_Port dart_port, intptr_t mask);
83 static void* GetHashmapKeyFromFd(intptr_t fd);
84 static uint32_t GetHashmapHashFromFd(intptr_t fd);
89 int interrupt_fds_[2];
DescriptorInfoMultiple(intptr_t fd)
virtual ~DescriptorInfoMultiple()
DescriptorInfoSingle(intptr_t fd)
virtual ~DescriptorInfoSingle()
DescriptorInfo(intptr_t fd)
virtual ~DescriptorInfo()
void SendData(intptr_t id, Dart_Port dart_port, int64_t data)
void UpdateEpollInstance(intptr_t old_mask, DescriptorInfo *di)
EventHandlerImplementation()
void Start(EventHandler *handler)
~EventHandlerImplementation()
DescriptorInfo * GetDescriptorInfo(intptr_t fd, bool is_listening)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
static int8_t data[kExtLength]
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size