]> git.llucax.com Git - software/libev.git/blobdiff - ev_select.c
experimental, and likely broken, inotify support
[software/libev.git] / ev_select.c
index 2a87a079c22e16866ce63da0ef3091a563893160..1df0953b3a265a4f705b3a5314fd98b71bddfdd7 100644 (file)
@@ -200,12 +200,12 @@ select_poll (EV_P_ ev_tstamp timeout)
 #endif
 }
 
 #endif
 }
 
-static int
+int inline_size
 select_init (EV_P_ int flags)
 {
 select_init (EV_P_ int flags)
 {
-  method_fudge  = 1e-2; /* needed to compensate for select returning early, very conservative */
-  method_modify = select_modify;
-  method_poll   = select_poll;
+  backend_fudge  = 1e-2; /* needed to compensate for select returning early, very conservative */
+  backend_modify = select_modify;
+  backend_poll   = select_poll;
 
 #if EV_SELECT_USE_FD_SET
   vec_max = FD_SETSIZE / 32;
 
 #if EV_SELECT_USE_FD_SET
   vec_max = FD_SETSIZE / 32;
@@ -221,10 +221,10 @@ select_init (EV_P_ int flags)
   vec_wo  = 0; 
 #endif
 
   vec_wo  = 0; 
 #endif
 
-  return EVMETHOD_SELECT;
+  return EVBACKEND_SELECT;
 }
 
 }
 
-static void
+void inline_size
 select_destroy (EV_P)
 {
   ev_free (vec_ri);
 select_destroy (EV_P)
 {
   ev_free (vec_ri);