|
Boost Users : |
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-01-30 12:54:56
I'm curious why the boost::condition class requires a seperate mutex object
to be created, and a corresponding scoped lock argument passed to the wait
functions. Wouldn't it be easier to just keep a mutex inside the
condition object and automatically lock it at the beginning of the wait
functions? What am I missing here?
-- Frank
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