El 22/03/2012 22:06, wright_left escribió:
I had a simple concurrent queue that was working fine shuffling data between threads. Now I want to use it between processes. I switched out the boost::condition_variable for a boost::interprocess::interprocess_condition. The queue funcitons normally, except that I can't interrupt the thread waiting on the queue. Previously I simply called boost::thread::interrupt() and the thread would die (with the interrupt exception I assume). But interprocess_condition::wait() doesn't seem to care about the interrupt.
Interprocess does not support interruption as it is not trivial to implement. Standard C++ condition variables don't require interruption, so it is not uncommon to miss those in synchronization primitives. Any help is appreciated to add this support to Interprocess ;-) Best, Ion