- _d_eh_swapContextDwarf
void* _d_eh_swapContextDwarf(void* newContext)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- callWithStackShell
void callWithStackShell(callWithStackShellDg fn)
Undocumented in source. Be warned that the author may not have intended to support it.
- createLowLevelThread
ThreadID createLowLevelThread(void delegate() nothrow dg, uint stacksize, void delegate() nothrow cbDllUnload)
Create a thread not under control of the runtime, i.e. TLS module constructors are
not run and the GC does not suspend it during a collection.
- getStackBottom
void* getStackBottom()
Undocumented in source. Be warned that the author may not have intended to support it.
- getStackTop
void* getStackTop()
Undocumented in source. Be warned that the author may not have intended to support it.
- joinLowLevelThread
void joinLowLevelThread(ThreadID tid)
Wait for a thread created with createLowLevelThread to terminate.
- pthread_attr_get_np
int pthread_attr_get_np(pthread_t thread, pthread_attr_t* attr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- pthread_getattr_np
int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- pthread_stackseg_np
int pthread_stackseg_np(pthread_t thread, stack_t* sinfo)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- rt_moduleTlsCtor
void rt_moduleTlsCtor()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- rt_moduleTlsDtor
void rt_moduleTlsDtor()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- swapContext
void* swapContext(void* newContext)
Undocumented in source. Be warned that the author may not have intended to support it.
- swapContext
void* swapContext(void* newContext)
Undocumented in source. Be warned that the author may not have intended to support it.
- swapContext
void* swapContext(void* newContext)
Undocumented in source. Be warned that the author may not have intended to support it.
- thr_stksegment
int thr_stksegment(stack_t* stk)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- thread_attachByAddr
Thread thread_attachByAddr(ThreadID addr)
- thread_attachByAddrB
Thread thread_attachByAddrB(ThreadID addr, void* bstack)
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.
- thread_attachThis
Thread thread_attachThis()
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.
- thread_init
void thread_init()
Initializes the thread module. This function must be called by the
garbage collector on startup and before any other thread routines
are called.
- thread_setGCSignals
void thread_setGCSignals(int suspendSignalNo, int resumeSignalNo)
Instruct the thread module, when initialized, to use a different set of
signals besides SIGRTMIN and SIGRTMIN + 1 for suspension and resumption of threads.
This function should be called at most once, prior to thread_init().
This function is Posix-only.
- thread_setGCSignals
void thread_setGCSignals(int suspendSignalNo, int resumeSignalNo)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- thread_suspendAll
void thread_suspendAll()
Suspend all threads but the calling thread for "stop the world" garbage
collection runs. This function may be called multiple times, and must
be followed by a matching number of calls to thread_resumeAll before
processing is resumed.
- thread_term
void thread_term()
Terminates the thread module. No other thread routine may be called
afterwards.
The osthread module provides low-level, OS-dependent code for thread creation and management.