Thread::Barrier

Name DSLIP Description Info


Thread::Barrier bdpOp Thread barriers for Perl MROGASKI

Thread barriers provide a mechanism for synchronization of multiple threads. All threads issuing a "wait" on the barrier will block until the count of waiting threads meets some threshold value. This mechanism proves quite useful in situations where processing progresses in stages and completion of the current stage by all threads is the entry criteria for the next stage.

This module only functions on Perl versions 5.8.0 and later. And then only when threads are enabled with -Dusethreads. It is of no use with any version of Perl before 5.8.0 or without threads enabled.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires threaded Perl 5.8.0.

COPYRIGHT AND LICENCE

Copyright (C) 2002-2003, 2005, 2007 Mark Rogaski, mrogaski@cpan.org; all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README file distributed with Perl for further details.

--
$Id: README,v 1.6 2007/03/25 08:20:07 wendigo Exp $