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

Comparing libev/ev.pod (file contents):
Revision 1.196 by root, Tue Oct 21 20:04:14 2008 UTC vs.
Revision 1.197 by root, Tue Oct 21 20:52:30 2008 UTC

894=item C<EV_ERROR> 894=item C<EV_ERROR>
895 895
896An unspecified error has occurred, the watcher has been stopped. This might 896An unspecified error has occurred, the watcher has been stopped. This might
897happen because the watcher could not be properly started because libev 897happen because the watcher could not be properly started because libev
898ran out of memory, a file descriptor was found to be closed or any other 898ran out of memory, a file descriptor was found to be closed or any other
899problem. Libev considers these application bugs.
900
899problem. You best act on it by reporting the problem and somehow coping 901You best act on it by reporting the problem and somehow coping with the
900with the watcher being stopped. 902watcher being stopped. Note that well-written programs should not receive
903an error ever, so when your watcher receives it, this usually indicates a
904bug in your program.
901 905
902Libev will usually signal a few "dummy" events together with an error, for 906Libev will usually signal a few "dummy" events together with an error, for
903example it might indicate that a fd is readable or writable, and if your 907example it might indicate that a fd is readable or writable, and if your
904callbacks is well-written it can just attempt the operation and cope with 908callbacks is well-written it can just attempt the operation and cope with
905the error from read() or write(). This will not work in multi-threaded 909the error from read() or write(). This will not work in multi-threaded

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines