Boost logo

Boost :

Subject: Re: [boost] [interprocess] condition variables and spurious wakeups
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-04-26 12:27:47


El 26/04/2015 a las 18:18, eg escribió:
> Hi,
>
> I was hoping to get some clarification on whether the
> boost::interprocess library implementation of condition variables is
> susceptible to spurious wake ups.
>
> Most other library implementations (pthreads, boost::thread,
> std::thread) seem to be and are documented as such.
>
> I couldn't find any mention in the interprocess documentation nor find
> anything definitive in my google searching.
>
> Thanks in advance,

Yes, it's susceptible to spurious wakeups, since in many platforms is a
wrapper around system interfaces.

Ion


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