IOCPLoop

Undocumented in source.

Constructors

this
this()

Initializes the loop.

Members

Functions

poll
void poll()

Does the actual polling.

reify
bool reify(SocketWatcher watcher, EventMask oldEvents, EventMask events)

Should be called if the backend configuration changes.

Variables

completionPort
HANDLE completionPort;
Undocumented in source.
overlap
OVERLAPPED overlap;
Undocumented in source.

Inherited Members

From Loop

done
bool done;
Undocumented in source.
pendings
DList!Watcher pendings;

Pending watchers.

maxEvents
uint maxEvents [@property getter]
~this
~this()

Frees loop internals.

run
void run()

Starts the loop.

unloop
void unloop()

Break out of the loop.

start
void start(ConnectionWatcher watcher)

Start watching.

stop
void stop(ConnectionWatcher watcher)

Stop watching.

reify
bool reify(SocketWatcher watcher, EventMask oldEvents, EventMask events)

Should be called if the backend configuration changes.

blockTime
inout(Duration) blockTime [@property getter]
blockTime
Duration blockTime [@property setter]

Sets the blocking time for IO watchers.

poll
void poll()

Does the actual polling.

blockTime_
Duration blockTime_;

Maximal block time.

Meta