Boost logo

Boost :

Subject: Re: [boost] Boost.Fiber mini-review September 4-13
From: Peter Dimov (lists_at_[hidden])
Date: 2015-09-05 10:04:17


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk