photon.linux.core

Undocumented in source.

Members

Functions

awaitAny
size_t awaitAny(Awaitable args)
awaitAny
size_t awaitAny(Awaitable[] args)
delay
void delay(T req)

Delay fiber execution by req duration.

event
auto event(bool triggered)
go
void go(void function() func)

Convenience overload for functions

go
void go(void delegate() func)

Setup a fiber task to run on the Photon scheduler.

schedulerEntry
void schedulerEntry(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
semaphore
auto semaphore(int initialCount)
startloop
void startloop()
Undocumented in source. Be warned that the author may not have intended to support it.
stoploop
void stoploop()
Undocumented in source. Be warned that the author may not have intended to support it.
timer
Timer timer()

Structs

Event
struct Event
Semaphore
struct Semaphore
Timer
struct Timer

A fiber-friendly timer.

Variables

scheds
SchedulerBlock[] scheds;
Undocumented in source.

Meta