The code is also racy. You either must explicitly ...
# coroutines
e
The code is also racy. You either must explicitly lock the state of
ContinuationWait
object while you check/modify it, or use lock-free techniques with compare-and-set