We don't bite newbies here... much | |
PerlMonks |
Re^2: Boolean Thread::Semaphore ?by chrestomanci (Priest) |
on Feb 09, 2012 at 16:25 UTC ( [id://952779]=note: print w/replies, xml ) | Need Help?? |
Thanks, that is a good solution, though as you say, not very robust. I think a robust implementation would be a good idea, so with that in mind I have emailed the author of Thread::Semaphore about adding the feature, either via a subclass as you suggest, or by adding the feature to the existing core module. Don't worry, whatever code I submit will robust and be properly tested to avoid the bugs you suggest.
In Section
Seekers of Perl Wisdom
|
|