5 Sep
2015
5 Sep
'15
2:04 p.m.
Oliver Kowalke wrote:
hmm - Anthony does also the unlock after the notification in the examples of 'C++ Concurrency in Action'
Books deliberately don't tell you to notify without holding the lock, because many people infer from that that you can notify without taking the lock at all, which is wrong and leads to subtle bugs.