cpp-channel
cpp-channel copied to clipboard
Possible Race Condition in push
In the push implementation, closed
is checked before the mutex to the channel is locked. This means a could check that the queue is not closed, but have it be closed while it acquires the mutex, pushing to a closed channel.
Thanks for taking a look! I will leave the issue open until I get to it.