[interprocess] condition variables and spurious wakeups
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, Ed
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
participants (2)
-
eg
-
Ion Gaztañaga