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

Comparing libev/ev.pod (file contents):
Revision 1.403 by sf-exg, Wed Apr 18 06:56:53 2012 UTC vs.
Revision 1.404 by root, Sat Apr 28 12:10:07 2012 UTC

3313it by calling C<ev_async_send>, which is thread- and signal safe. 3313it by calling C<ev_async_send>, which is thread- and signal safe.
3314 3314
3315This functionality is very similar to C<ev_signal> watchers, as signals, 3315This functionality is very similar to C<ev_signal> watchers, as signals,
3316too, are asynchronous in nature, and signals, too, will be compressed 3316too, are asynchronous in nature, and signals, too, will be compressed
3317(i.e. the number of callback invocations may be less than the number of 3317(i.e. the number of callback invocations may be less than the number of
3318C<ev_async_sent> calls). In fact, you could use signal watchers as a kind 3318C<ev_async_send> calls). In fact, you could use signal watchers as a kind
3319of "global async watchers" by using a watcher on an otherwise unused 3319of "global async watchers" by using a watcher on an otherwise unused
3320signal, and C<ev_feed_signal> to signal this watcher from another thread, 3320signal, and C<ev_feed_signal> to signal this watcher from another thread,
3321even without knowing which loop owns the signal. 3321even without knowing which loop owns the signal.
3322 3322
3323=head3 Queueing 3323=head3 Queueing

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines