photon.macos.core

Undocumented in source.

Members

Functions

delay
void delay(T req)

Delay fiber execution by req duration.

event
auto event(bool signaled)
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 initial)
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
auto timer()

Allocate a timer

Structs

Event
struct Event
Undocumented in source.
Semaphore
struct Semaphore
Undocumented in source.

Variables

scheds
SchedulerBlock[] scheds;
Undocumented in source.

Meta