Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] shared memory, condtions, deadlock
From: David Abrahams (dave_at_[hidden])
Date: 2010-08-11 20:51:52


At Thu, 05 Aug 2010 14:03:54 +0200,
Kai Benndorf wrote:
>
> The lock on the mutex must be made directly at the beginning of each
> process, so that the mutex is only unlocked if wait() is called.

Isn't that just the normal rule for using condition variables?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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