SFWApp

Constructors

this
this(size_t ss = 32)

stackSize = 1024 * ss

Members

Functions

exitLoop
void exitLoop(int res = 0)

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

stackSize
size_t stackSize;

use for new fibers

work
bool work;

Meta