ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/SemaphoreSet.pm
(Generate patch)

Comparing Coro/Coro/SemaphoreSet.pm (file contents):
Revision 1.95 by root, Thu Nov 11 00:09:09 2010 UTC vs.
Revision 1.96 by root, Sat Feb 5 21:20:47 2011 UTC

21as members, but is more efficiently managed. 21as members, but is more efficiently managed.
22 22
23This is useful if you want to allow parallel tasks to run in parallel but 23This is useful if you want to allow parallel tasks to run in parallel but
24not on the same problem. Just use a SemaphoreSet and lock on the problem 24not on the same problem. Just use a SemaphoreSet and lock on the problem
25identifier. 25identifier.
26
27You don't have to load C<Coro::SemaphoreSet> manually, it will be loaded
28automatically when you C<use Coro> and call the C<new> constructor.
26 29
27=over 4 30=over 4
28 31
29=cut 32=cut
30 33

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines