thread_inCriticalRegion

Returns true if the current thread is in a critical region; otherwise, false.

In: The calling thread must be attached to the runtime.

extern (C) @nogc in
bool
thread_inCriticalRegion
()
Suggestion Box / Bug Report