ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.291 by root, Tue Mar 16 20:32:20 2010 UTC vs.
Revision 1.292 by sf-exg, Mon Mar 22 09:57:01 2010 UTC

1545somewhere, as that would have given you a big clue). 1545somewhere, as that would have given you a big clue).
1546 1546
1547=head3 The special problem of accept()ing when you can't 1547=head3 The special problem of accept()ing when you can't
1548 1548
1549Many implementations of the POSIX C<accept> function (for example, 1549Many implementations of the POSIX C<accept> function (for example,
1550found in port-2004 Linux) have the peculiar behaviour of not removing a 1550found in post-2004 Linux) have the peculiar behaviour of not removing a
1551connection from the pending queue in all error cases. 1551connection from the pending queue in all error cases.
1552 1552
1553For example, larger servers often run out of file descriptors (because 1553For example, larger servers often run out of file descriptors (because
1554of resource limits), causing C<accept> to fail with C<ENFILE> but not 1554of resource limits), causing C<accept> to fail with C<ENFILE> but not
1555rejecting the connection, leading to libev signalling readiness on 1555rejecting the connection, leading to libev signalling readiness on
3664define before including (or compiling) any of its files. The default in 3664define before including (or compiling) any of its files. The default in
3665the absence of autoconf is documented for every option. 3665the absence of autoconf is documented for every option.
3666 3666
3667Symbols marked with "(h)" do not change the ABI, and can have different 3667Symbols marked with "(h)" do not change the ABI, and can have different
3668values when compiling libev vs. including F<ev.h>, so it is permissible 3668values when compiling libev vs. including F<ev.h>, so it is permissible
3669to redefine them before including F<ev.h> without breakign compatibility 3669to redefine them before including F<ev.h> without breaking compatibility
3670to a compiled library. All other symbols change the ABI, which means all 3670to a compiled library. All other symbols change the ABI, which means all
3671users of libev and the libev code itself must be compiled with compatible 3671users of libev and the libev code itself must be compiled with compatible
3672settings. 3672settings.
3673 3673
3674=over 4 3674=over 4
4644=item C<ev_loop_verify> renamed to C<ev_verify> 4644=item C<ev_loop_verify> renamed to C<ev_verify>
4645 4645
4646Most functions working on C<struct ev_loop> objects don't have an 4646Most functions working on C<struct ev_loop> objects don't have an
4647C<ev_loop_> prefix, so it was removed. Note that C<ev_loop_fork> is 4647C<ev_loop_> prefix, so it was removed. Note that C<ev_loop_fork> is
4648still called C<ev_loop_fork> because it would otherwise clash with the 4648still called C<ev_loop_fork> because it would otherwise clash with the
4649C<ev_frok> typedef. 4649C<ev_fork> typedef.
4650 4650
4651=item C<EV_TIMEOUT> renamed to C<EV_TIMER> in C<revents> 4651=item C<EV_TIMEOUT> renamed to C<EV_TIMER> in C<revents>
4652 4652
4653This is a simple rename - all other watcher types use their name 4653This is a simple rename - all other watcher types use their name
4654as revents flag, and now C<ev_timer> does, too. 4654as revents flag, and now C<ev_timer> does, too.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines