develooper Front page | perl.perl5.porters | Postings from December 2003

Re: [PATCH] cond_wait() and arbitrary lock variables

Thread Previous | Thread Next
From:
Mike Pomraning
Date:
December 2, 2003 02:39
Subject:
Re: [PATCH] cond_wait() and arbitrary lock variables
Message ID:
Pine.LNX.4.58.0312012117001.6933@benevelle.wi.securepipe.com
On Sun, 30 Nov 2003, Rafael Garcia-Suarez wrote:

> Mike Pomraning wrote:
> >
> >    cond_wait($v, $lockvar); # $v's predicate is protected by $lockvar, which
> >                             # presumably protects other predicates as well
[....]
> This looks useful indeed. However, regression tests for this new feature
> would be most appreciated.
> (bumping the $VERSION might be a good idea as well.)

Wilco.  I'm nearly done with cond_timedwait(), too -- impetus:
$sema->trydown($timeout) -- so that'll arrive with tests for both.

-Mike

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About