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.

extern (C) nothrow
void
thread_suspendAll
()

Throws

ThreadError if the suspend operation fails for a running thread.

Meta