Thread

Optimistic thread, failure not supported

Constructors

this
this(ThreadDelegate callback, size_t stackSize)
this(ThreadDelegateUser callback, size_t stackSize, void* userData)

Create a thread with user data. Thread is not created until start has been called.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

getThreadID
void* getThreadID()
Undocumented in source. Be warned that the author may not have intended to support it.
join
void join()

Wait for that thread termination Again, this function can be called only once. This actually releases the thread resource.

start
void start()

Starts the thread. Threads are created suspended. This function can only be called once.

Meta