Boost logo

Boost Users :

From: Graham Reitz (graham.cpp_at_[hidden])
Date: 2007-06-18 11:48:14


Is there a method to release all threads waiting on a mutex? Or, more
generally, a portable way to release a bunch of threads at the same time?
(boost::asio?)

I didn't see anything in the docs, besides barrier. Unfortunately, I can't
guarantee the N threads will be waiting when a flush is needed.

thanks,
graham



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net