The OpenD Programming Language

thread_attachByAddr

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();

version(Windows)
extern (C)
thread_attachByAddr

See Also

Meta