Comment Comment by vc8f6vVV You wait on a shared channel so both read and sleep threads queue a message when ready (whichever comes first). Not sure about channels, but in other languages it would be a concurrent queue. parent vc8f6vVV 3 years ago