instead of using a while loop, just block based on whether or not another thread is holding the queue mutex;
parent
774558ebd7
commit
e6188b21aa
Loading…
Reference in new issue