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

Comparing libev/ev.pod (file contents):
Revision 1.358 by sf-exg, Tue Jan 11 08:43:48 2011 UTC vs.
Revision 1.359 by root, Tue Jan 11 10:56:01 2011 UTC

3504 exit_main_loop = exit_nested_loop = 1; 3504 exit_main_loop = exit_nested_loop = 1;
3505 3505
3506=head2 THREAD LOCKING EXAMPLE 3506=head2 THREAD LOCKING EXAMPLE
3507 3507
3508Here is a fictitious example of how to run an event loop in a different 3508Here is a fictitious example of how to run an event loop in a different
3509thread than where callbacks are being invoked and watchers are 3509thread from where callbacks are being invoked and watchers are
3510created/added/removed. 3510created/added/removed.
3511 3511
3512For a real-world example, see the C<EV::Loop::Async> perl module, 3512For a real-world example, see the C<EV::Loop::Async> perl module,
3513which uses exactly this technique (which is suited for many high-level 3513which uses exactly this technique (which is suited for many high-level
3514languages). 3514languages).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines