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

Comparing libev/ev.pod (file contents):
Revision 1.347 by sf-exg, Wed Nov 10 19:50:09 2010 UTC vs.
Revision 1.348 by sf-exg, Sat Jan 8 17:52:39 2011 UTC

867running when nothing else is active. 867running when nothing else is active.
868 868
869 ev_signal exitsig; 869 ev_signal exitsig;
870 ev_signal_init (&exitsig, sig_cb, SIGINT); 870 ev_signal_init (&exitsig, sig_cb, SIGINT);
871 ev_signal_start (loop, &exitsig); 871 ev_signal_start (loop, &exitsig);
872 evf_unref (loop); 872 ev_unref (loop);
873 873
874Example: For some weird reason, unregister the above signal handler again. 874Example: For some weird reason, unregister the above signal handler again.
875 875
876 ev_ref (loop); 876 ev_ref (loop);
877 ev_signal_stop (loop, &exitsig); 877 ev_signal_stop (loop, &exitsig);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines