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

Comparing libev/ev.pod (file contents):
Revision 1.173 by root, Thu Aug 7 19:24:56 2008 UTC vs.
Revision 1.174 by root, Mon Aug 18 23:23:45 2008 UTC

1134C<EVBACKEND_POLL>. 1134C<EVBACKEND_POLL>.
1135 1135
1136=head3 The special problem of SIGPIPE 1136=head3 The special problem of SIGPIPE
1137 1137
1138While not really specific to libev, it is easy to forget about SIGPIPE: 1138While not really specific to libev, it is easy to forget about SIGPIPE:
1139when reading from a pipe whose other end has been closed, your program 1139when writing to a pipe whose other end has been closed, your program gets
1140gets send a SIGPIPE, which, by default, aborts your program. For most 1140send a SIGPIPE, which, by default, aborts your program. For most programs
1141programs this is sensible behaviour, for daemons, this is usually 1141this is sensible behaviour, for daemons, this is usually undesirable.
1142undesirable.
1143 1142
1144So when you encounter spurious, unexplained daemon exits, make sure you 1143So when you encounter spurious, unexplained daemon exits, make sure you
1145ignore SIGPIPE (and maybe make sure you log the exit status of your daemon 1144ignore SIGPIPE (and maybe make sure you log the exit status of your daemon
1146somewhere, as that would have given you a big clue). 1145somewhere, as that would have given you a big clue).
1147 1146

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines