ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.xs
(Generate patch)

Comparing EV/EV.xs (file contents):
Revision 1.158 by root, Thu Jan 19 17:55:23 2012 UTC vs.
Revision 1.159 by root, Mon Apr 2 20:12:15 2012 UTC

32# define fd_mask Perl_fd_mask 32# define fd_mask Perl_fd_mask
33#endif 33#endif
34/* due to bugs in OS X we have to use libev/ explicitly here */ 34/* due to bugs in OS X we have to use libev/ explicitly here */
35#include "libev/ev.c" 35#include "libev/ev.c"
36 36
37#if !defined(_WIN32) && !defined(_MINIX) 37#if !defined _WIN32 && !defined _MINIX
38# include <pthread.h> 38# include <pthread.h>
39#endif 39#endif
40 40
41#define e_loop(w) INT2PTR (struct ev_loop *, SvIVX (((ev_watcher *)(w))->loop)) 41#define e_loop(w) INT2PTR (struct ev_loop *, SvIVX (((ev_watcher *)(w))->loop))
42#define e_flags(w) ((ev_watcher *)(w))->e_flags 42#define e_flags(w) ((ev_watcher *)(w))->e_flags
518 evapi.invoke = ev_invoke; 518 evapi.invoke = ev_invoke;
519 519
520 sv_setiv (sv, (IV)&evapi); 520 sv_setiv (sv, (IV)&evapi);
521 SvREADONLY_on (sv); 521 SvREADONLY_on (sv);
522 } 522 }
523#if !defined(_WIN32) && !defined(_MINIX) 523#if !defined _WIN32 && !defined _MINIX
524 pthread_atfork (0, 0, default_fork); 524 pthread_atfork (0, 0, default_fork);
525#endif 525#endif
526} 526}
527 527
528SV *ev_default_loop (unsigned int flags = 0) 528SV *ev_default_loop (unsigned int flags = 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines