… | |
… | |
321 | const_iv (EV_, ERROR) |
321 | const_iv (EV_, ERROR) |
322 | |
322 | |
323 | const_iv (EV, LOOP_ONESHOT) |
323 | const_iv (EV, LOOP_ONESHOT) |
324 | const_iv (EV, LOOP_NONBLOCK) |
324 | const_iv (EV, LOOP_NONBLOCK) |
325 | |
325 | |
326 | const_iv (EV, METHOD_AUTO) |
|
|
327 | const_iv (EV, METHOD_SELECT) |
326 | const_iv (EV, METHOD_SELECT) |
328 | const_iv (EV, METHOD_POLL) |
327 | const_iv (EV, METHOD_POLL) |
329 | const_iv (EV, METHOD_EPOLL) |
328 | const_iv (EV, METHOD_EPOLL) |
330 | const_iv (EV, METHOD_KQUEUE) |
329 | const_iv (EV, METHOD_KQUEUE) |
331 | const_iv (EV, METHOD_DEVPOLL) |
330 | const_iv (EV, METHOD_DEVPOLL) |
332 | const_iv (EV, METHOD_PORT) |
331 | const_iv (EV, METHOD_PORT) |
|
|
332 | const_iv (EV, FLAG_AUTO) |
333 | const_iv (EV, METHOD_NOENV) |
333 | const_iv (EV, FLAG_NOENV) |
334 | }; |
334 | }; |
335 | |
335 | |
336 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
336 | for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) |
337 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
337 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
338 | |
338 | |
… | |
… | |
391 | |
391 | |
392 | int ev_method () |
392 | int ev_method () |
393 | |
393 | |
394 | NV ev_time () |
394 | NV ev_time () |
395 | |
395 | |
396 | int ev_default_loop (int methods = EVMETHOD_AUTO) |
396 | int ev_default_loop (int methods = EVFLAG_AUTO) |
397 | |
397 | |
398 | void ev_loop (int flags = 0) |
398 | void ev_loop (int flags = 0) |
399 | |
399 | |
400 | void ev_unloop (int how = 1) |
400 | void ev_unloop (int how = 1) |
401 | |
401 | |