… | … | ||
---|---|---|---|
33 | 33 | ||
34 | package Coro::Semaphore; | 34 | package Coro::Semaphore; |
35 | 35 | ||
36 | use Coro (); | 36 | use Coro (); |
37 | 37 | ||
38 | $VERSION = 0.45; | 38 | $VERSION = 0.49; |
39 | 39 | ||
40 | =item new [inital count] | 40 | =item new [inital count] |
41 | 41 | ||
42 | Creates a new sempahore object with the given initial lock count. The | 42 | Creates a new sempahore object with the given initial lock count. The |
43 | default lock count is 1, which means it is unlocked by default. Zero (or | 43 | default lock count is 1, which means it is unlocked by default. Zero (or |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |