Expand description
Graceful process shutdown coordination for BRK.
Structsยง
- Exit
- On first signal, a background thread acquires the write lock (waiting only for the current critical section to finish), runs cleanup callbacks, and exits. Later signals change nothing: the shutdown keeps waiting.
- Exit
Guard - Defers shutdown while held;
Send + 'static, so it can move to background threads.