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

Comparing Coro/Event/Util.pm (file contents):
Revision 1.9 by root, Tue May 27 01:15:32 2003 UTC vs.
Revision 1.10 by pcg, Wed Nov 5 20:02:47 2003 UTC

15 15
16=cut 16=cut
17 17
18package Coro::Util; 18package Coro::Util;
19 19
20no warnings qw(uninitialized); 20BEGIN { eval { require warnings } && warnings->unimport ("uninitialized") }
21 21
22#use Carp qw(croak); 22#use Carp qw(croak);
23 23
24use Coro::Handle; 24use Coro::Handle;
25use Coro::Semaphore; 25use Coro::Semaphore;
28 28
29@EXPORT = qw( 29@EXPORT = qw(
30 gethostbyname gethostbyaddr 30 gethostbyname gethostbyaddr
31); 31);
32 32
33$VERSION = 0.7; 33$VERSION = 0.8;
34 34
35$MAXPARALLEL = 16; # max. number of parallel jobs 35$MAXPARALLEL = 16; # max. number of parallel jobs
36 36
37my $jobs = new Coro::Semaphore $MAXPARALLEL; 37my $jobs = new Coro::Semaphore $MAXPARALLEL;
38 38

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines