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

Comparing libev/ev.pod (file contents):
Revision 1.349 by root, Mon Jan 10 01:58:55 2011 UTC vs.
Revision 1.350 by sf-exg, Mon Jan 10 08:36:41 2011 UTC

305 305
306This function can be used to "simulate" a signal receive. It is completely 306This function can be used to "simulate" a signal receive. It is completely
307safe to call this function at any time, from any context, including signal 307safe to call this function at any time, from any context, including signal
308handlers or random threads. 308handlers or random threads.
309 309
310It's main use is to customise signal handling in your process, especially 310Its main use is to customise signal handling in your process, especially
311in the presence of threads. For example, you could block signals 311in the presence of threads. For example, you could block signals
312by default in all threads (and specifying C<EVFLAG_NOSIGMASK> when 312by default in all threads (and specifying C<EVFLAG_NOSIGMASK> when
313creating any loops), and in one thread, use C<sigwait> or any other 313creating any loops), and in one thread, use C<sigwait> or any other
314mechanism to wait for signals, then "deliver" them to libev by calling 314mechanism to wait for signals, then "deliver" them to libev by calling
315C<ev_feed_signal>. 315C<ev_feed_signal>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines