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

Comparing libev/ev.pod (file contents):
Revision 1.352 by root, Mon Jan 10 14:30:15 2011 UTC vs.
Revision 1.353 by root, Mon Jan 10 14:36:44 2011 UTC

595hacks). 595hacks).
596 596
597On the negative side, the interface is I<bizarre> - so bizarre that 597On the negative side, the interface is I<bizarre> - so bizarre that
598even sun itself gets it wrong in their code examples: The event polling 598even sun itself gets it wrong in their code examples: The event polling
599function sometimes returning events to the caller even though an error 599function sometimes returning events to the caller even though an error
600occured, but with no indication whether it has done so or not (yes, it's 600occurred, but with no indication whether it has done so or not (yes, it's
601even documented that way) - deadly for edge-triggered interfaces where 601even documented that way) - deadly for edge-triggered interfaces where
602you absolutely have to know whether an event occured or not because you 602you absolutely have to know whether an event occurred or not because you
603have to re-arm the watcher. 603have to re-arm the watcher.
604 604
605Fortunately libev seems to be able to work around these idiocies. 605Fortunately libev seems to be able to work around these idiocies.
606 606
607This backend maps C<EV_READ> and C<EV_WRITE> in the same way as 607This backend maps C<EV_READ> and C<EV_WRITE> in the same way as

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines