FThread

Thread wrap

Constructors

this
this(string name, WorkElement function(Args) func, Args args)

Members

Enums

Error
enum Error

addational info part

State
enum State

Functions

addListener
void addListener(FThread[] thrs...)

add listener FThread, listeners gets events from work element

delListener
void delListener(FThread th)

delete listener

join
void join()

core.thread.Thread.join

pushCommand
void pushCommand(Command cmd)

push command for changing state of thread

pushEvent
void pushEvent(in Event ev)

push event for processing in work element

takeAllSignals
auto takeAllSignals()

take all signals from work element

Properties

info
auto info [@property getter]

getting last information of thread

name
auto name [@property getter]

getting name of fthread

Structs

Info
struct Info

Variables

com
Communication com;
self_name
string self_name;
thread
Thread thread;

core.thread.Thread

Meta