SFWApp

Constructors

this
this(size_t ss)

stackSize = 1024 * ss

Members

Aliases

voidDelegate
alias voidDelegate = void delegate()
Undocumented in source.
voidFunction
alias voidFunction = void function()
Undocumented in source.

Functions

exitLoop
void exitLoop(int res)

set work to false and set exit_result

exitResult
int exitResult()
loop
bool loop()

while work call not terminate fibers

spawn
void spawn(T _body)

create managed SFWFiber

spawnInfLoop
void spawnInfLoop(T loop_body)

create managed SFWFiber with infinity loop

Variables

exit_result
int exit_result;
Undocumented in source.
fibers
SFWFiber[] fibers;
Undocumented in source.
stackSize
size_t stackSize;

use for new fibers

work
bool work;

Meta