Runs one function at a time, in the order they asked.
Private
Readonly
Runs fn when the lock is free. A waiter whose signal aborts leaves the queue and rejects; a running fn is not stopped by the lock, it has to watch the signal itself.
fn
signal
Optional
Whether a function runs now.
Runs one function at a time, in the order they asked.