The OpenD Programming Language

thread_attachThis_tpl

Registers the calling thread for use with the D Runtime. If this routine is called for a thread which is already registered, no action is performed.

NOTE: This routine does not run thread-local static constructors when called. If full functionality as a D thread is desired, the following function must be called after thread_attachThis:

extern (C) void rt_moduleTlsCtor();

package
ThreadT
thread_attachThis_tpl
(
ThreadT
)
()

Meta