Boost logo

Boost :

From: Gavin Lambert (boost_at_[hidden])
Date: 2019-09-02 06:46:26


On 2/09/2019 17:54, JH wrote:
> Yes, three IO read / write, but only one thread. The thing I am not
> clear was your comment, "You may still need locks to protect things
> that are accessed from both callbacks".

That's not what I said.

I said from both "callbacks" and "initiating functions".

Or in more verbose form: accessed from both of:
   1. callbacks
   2. initiating functions

The latter meaning something executed not on the callback thread --
named thus because in naive implementations usually the first read and
most writes will be initiated externally like that.


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