awake
fn
void awake() nothrow @nogcWakes up the main thread from another thread.
Call this to signal the main thread that there's work to do. The main thread will process pending callbacks on next wait().
Example:
// In worker thread:
// ... do work ...
awake(); // Signal main thread