… | |
… | |
35 | |
35 | |
36 | BEGIN { eval { require warnings } && warnings->unimport ("uninitialized") } |
36 | BEGIN { eval { require warnings } && warnings->unimport ("uninitialized") } |
37 | |
37 | |
38 | use Coro (); |
38 | use Coro (); |
39 | |
39 | |
40 | $VERSION = "0.9"; |
40 | $VERSION = 0.95; |
41 | |
41 | |
42 | =item new [inital count] |
42 | =item new [inital count] |
43 | |
43 | |
44 | Creates a new sempahore object with the given initial lock count. The |
44 | Creates a new sempahore object with the given initial lock count. The |
45 | default lock count is 1, which means it is unlocked by default. Zero (or |
45 | default lock count is 1, which means it is unlocked by default. Zero (or |