Boost logo

Boost :

From: Lie-Quan Lee (llee1_at_[hidden])
Date: 2001-03-22 22:45:05


At Thu, 22 Mar 2001 22:31:30 -0500,
Rich Lee wrote:
>
> At Thu, 22 Mar 2001 11:19:09 -0600,
> William Kempf wrote:
> > Pthreads don't allow for timed locking. So the condition variable is needed
> > for simulating this.
>
> Ok. To simulate timed locking, you need a condition
> variable. However, norm locking (do_lock) does not need to wait on
> the condition, does it?
>

What I means is, maybe there is a way to have two different
do_unlock(), one for norm locking, the other for timed
locking. Somehow they could match well and let norm locking not to
wait on the condition.

--
Lie-Quan Lee

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk