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

Comparing libev/ev.pod (file contents):
Revision 1.82 by root, Wed Dec 12 17:55:06 2007 UTC vs.
Revision 1.84 by root, Wed Dec 12 22:26:37 2007 UTC

1792event loop blocks next and before C<ev_check> watchers are being called, 1792event loop blocks next and before C<ev_check> watchers are being called,
1793and only in the child after the fork. If whoever good citizen calling 1793and only in the child after the fork. If whoever good citizen calling
1794C<ev_default_fork> cheats and calls it in the wrong process, the fork 1794C<ev_default_fork> cheats and calls it in the wrong process, the fork
1795handlers will be invoked, too, of course. 1795handlers will be invoked, too, of course.
1796 1796
1797=head3 Watcher-Specific Functions and Data Members
1798
1797=over 4 1799=over 4
1798 1800
1799=item ev_fork_init (ev_signal *, callback) 1801=item ev_fork_init (ev_signal *, callback)
1800 1802
1801Initialises and configures the fork watcher - it has no parameters of any 1803Initialises and configures the fork watcher - it has no parameters of any
2017 2019
2018=item w->stop () 2020=item w->stop ()
2019 2021
2020Stops the watcher if it is active. Again, no C<loop> argument. 2022Stops the watcher if it is active. Again, no C<loop> argument.
2021 2023
2022=item w->again () C<ev::timer>, C<ev::periodic> only 2024=item w->again () (C<ev::timer>, C<ev::periodic> only)
2023 2025
2024For C<ev::timer> and C<ev::periodic>, this invokes the corresponding 2026For C<ev::timer> and C<ev::periodic>, this invokes the corresponding
2025C<ev_TYPE_again> function. 2027C<ev_TYPE_again> function.
2026 2028
2027=item w->sweep () C<ev::embed> only 2029=item w->sweep () (C<ev::embed> only)
2028 2030
2029Invokes C<ev_embed_sweep>. 2031Invokes C<ev_embed_sweep>.
2030 2032
2031=item w->update () C<ev::stat> only 2033=item w->update () (C<ev::stat> only)
2032 2034
2033Invokes C<ev_stat_stat>. 2035Invokes C<ev_stat_stat>.
2034 2036
2035=back 2037=back
2036 2038
2056 } 2058 }
2057 2059
2058 2060
2059=head1 MACRO MAGIC 2061=head1 MACRO MAGIC
2060 2062
2061Libev can be compiled with a variety of options, the most fundemantal is 2063Libev can be compiled with a variety of options, the most fundamantal
2062C<EV_MULTIPLICITY>. This option determines whether (most) functions and 2064of which is C<EV_MULTIPLICITY>. This option determines whether (most)
2063callbacks have an initial C<struct ev_loop *> argument. 2065functions and callbacks have an initial C<struct ev_loop *> argument.
2064 2066
2065To make it easier to write programs that cope with either variant, the 2067To make it easier to write programs that cope with either variant, the
2066following macros are defined: 2068following macros are defined:
2067 2069
2068=over 4 2070=over 4

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines