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

Comparing libev/ev.h (file contents):
Revision 1.19 by root, Thu Nov 1 13:11:12 2007 UTC vs.
Revision 1.20 by root, Fri Nov 2 16:54:35 2007 UTC

165 165
166 int pid; /* ro */ 166 int pid; /* ro */
167 int status; /* rw, holds the exit status, use the macros from sys/wait.h */ 167 int status; /* rw, holds the exit status, use the macros from sys/wait.h */
168}; 168};
169 169
170#define EVMETHOD_NONE 0 170#define EVMETHOD_AUTO 0 /* consults environment */
171#define EVMETHOD_SELECT 1 171#define EVMETHOD_SELECT 1
172#define EVMETHOD_EPOLL 2 172#define EVMETHOD_POLL 2
173#define EVMETHOD_EPOLL 4
174#define EVMETHOD_ANY ~0 /* any method, do not consult env */
173#if EV_PROTOTYPES 175#if EV_PROTOTYPES
174extern int ev_method; 176extern int ev_method;
175int ev_init (int flags); /* returns ev_method */ 177int ev_init (int methods); /* returns ev_method */
176int ev_version_major (void); 178int ev_version_major (void);
177int ev_version_minor (void); 179int ev_version_minor (void);
178 180
179/* these three calls are suitable for plugging into pthread_atfork */ 181/* these three calls are suitable for plugging into pthread_atfork */
180void ev_fork_prepare (void); 182void ev_fork_prepare (void);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines