ithreads folk,

Thread-Barrier-0.300_02 is on CPAN, introducing barrier actions, timed
waits, and brokenness (the good kind).  It's backward compatible, and has a
bugfix, too.

There are tests for everything, but if anyone knows of a rigorous test
suite for barriers with a friendly license, I'd gladly adapt it.  Everyone
is also invited to review it for the bad kind of brokenness, of course.

Developers on this list may be interested to know that the barrier action,
a coderef, is implemented by turning the object sharing inside-out.
 Instead of a Thread::Barrier being a shared compound object with a coderef
member -- croak("Cannot share subs yet") -- it is an unshared compound
object with a coderef member and a separate shared member.

-Mike

Reply via email to