… | |
… | |
40 | |
40 | |
41 | use common::sense; |
41 | use common::sense; |
42 | |
42 | |
43 | use Coro (); |
43 | use Coro (); |
44 | |
44 | |
45 | our $VERSION = 6.513; |
45 | our $VERSION = 6.514; |
46 | |
46 | |
47 | =item new [initial count] |
47 | =item new [initial count] |
48 | |
48 | |
49 | Creates a new sempahore object with the given initial lock count. The |
49 | Creates a new sempahore object with the given initial lock count. The |
50 | default lock count is 1, which means it is unlocked by default. Zero (or |
50 | default lock count is 1, which means it is unlocked by default. Zero (or |