Posted on 2009-06-19 05:55:19-07 by markdv1
small bug in cond_wait documentation?
I was reading the documentation section for cond_wait and I think there might be a small bug there.

If "The cond_wait function takes a locked variable as a parameter.." then shouldn't the cond_wait in the given example
{ lock($counter); cond_wait($count) until $counter == 0; }
be cond_wait($counter) instead of cond_wait($count)?
Direct Responses: 11004 | Write a response
Posted on 2009-06-19 12:58:42-07 by jdhedden in response to 11002
Re: small bug in cond_wait documentation?
Good catch. I'll update the docs accordingly for the next release.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.