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

Comparing libev/ev.pod (file contents):
Revision 1.376 by root, Tue Jun 14 07:23:46 2011 UTC vs.
Revision 1.379 by root, Tue Jul 12 23:32:10 2011 UTC

3944watchers in the constructor. 3944watchers in the constructor.
3945 3945
3946 class myclass 3946 class myclass
3947 { 3947 {
3948 ev::io io ; void io_cb (ev::io &w, int revents); 3948 ev::io io ; void io_cb (ev::io &w, int revents);
3949 ev::io2 io2 ; void io2_cb (ev::io &w, int revents); 3949 ev::io io2 ; void io2_cb (ev::io &w, int revents);
3950 ev::idle idle; void idle_cb (ev::idle &w, int revents); 3950 ev::idle idle; void idle_cb (ev::idle &w, int revents);
3951 3951
3952 myclass (int fd) 3952 myclass (int fd)
3953 { 3953 {
3954 io .set <myclass, &myclass::io_cb > (this); 3954 io .set <myclass, &myclass::io_cb > (this);
4005L<http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hlibev>. 4005L<http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hlibev>.
4006 4006
4007=item D 4007=item D
4008 4008
4009Leandro Lucarella has written a D language binding (F<ev.d>) for libev, to 4009Leandro Lucarella has written a D language binding (F<ev.d>) for libev, to
4010be found at L<http://proj.llucax.com.ar/wiki/evd>. 4010be found at L<http://www.llucax.com.ar/proj/ev.d/index.html>.
4011 4011
4012=item Ocaml 4012=item Ocaml
4013 4013
4014Erkki Seppala has written Ocaml bindings for libev, to be found at 4014Erkki Seppala has written Ocaml bindings for libev, to be found at
4015L<http://modeemi.cs.tut.fi/~flux/software/ocaml-ev/>. 4015L<http://modeemi.cs.tut.fi/~flux/software/ocaml-ev/>.
4376provide your own type that you know is safe for your purposes. It is used 4376provide your own type that you know is safe for your purposes. It is used
4377both for signal handler "locking" as well as for signal and thread safety 4377both for signal handler "locking" as well as for signal and thread safety
4378in C<ev_async> watchers. 4378in C<ev_async> watchers.
4379 4379
4380In the absence of this define, libev will use C<sig_atomic_t volatile> 4380In the absence of this define, libev will use C<sig_atomic_t volatile>
4381(from F<signal.h>), which is usually good enough on most platforms. 4381(from F<signal.h>), which is usually good enough on most platforms,
4382although strictly speaking using a type that also implies a memory fence
4383is required.
4382 4384
4383=item EV_H (h) 4385=item EV_H (h)
4384 4386
4385The name of the F<ev.h> header file used to include it. The default if 4387The name of the F<ev.h> header file used to include it. The default if
4386undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be 4388undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines