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

Comparing EV/EV.xs (file contents):
Revision 1.121 by root, Wed Apr 15 17:49:26 2009 UTC vs.
Revision 1.123 by root, Sat Apr 25 14:12:48 2009 UTC

399 const_iv (EV_, MINPRI) 399 const_iv (EV_, MINPRI)
400 const_iv (EV_, MAXPRI) 400 const_iv (EV_, MAXPRI)
401 401
402 const_iv (EV_, UNDEF) 402 const_iv (EV_, UNDEF)
403 const_iv (EV_, NONE) 403 const_iv (EV_, NONE)
404 const_iv (EV_, TIMEOUT)
405 const_iv (EV_, READ) 404 const_iv (EV_, READ)
406 const_iv (EV_, WRITE) 405 const_iv (EV_, WRITE)
406 const_iv (EV_, IO)
407 const_iv (EV_, TIMEOUT)
408 const_iv (EV_, TIMER)
409 const_iv (EV_, PERIODIC)
407 const_iv (EV_, SIGNAL) 410 const_iv (EV_, SIGNAL)
411 const_iv (EV_, CHILD)
412 const_iv (EV_, STAT)
408 const_iv (EV_, IDLE) 413 const_iv (EV_, IDLE)
414 const_iv (EV_, PREPARE)
409 const_iv (EV_, CHECK) 415 const_iv (EV_, CHECK)
416 const_iv (EV_, EMBED)
417 const_iv (EV_, FORK)
418 const_iv (EV_, ASYNC)
419 const_iv (EV_, CUSTOM)
410 const_iv (EV_, ERROR) 420 const_iv (EV_, ERROR)
411 421
422 const_iv (EV, LOOP_NONBLOCK)
412 const_iv (EV, LOOP_ONESHOT) 423 const_iv (EV, LOOP_ONESHOT)
424
413 const_iv (EV, LOOP_NONBLOCK) 425 const_iv (EV, UNLOOP_CANCEL)
414 const_iv (EV, UNLOOP_ONE) 426 const_iv (EV, UNLOOP_ONE)
415 const_iv (EV, UNLOOP_ALL) 427 const_iv (EV, UNLOOP_ALL)
416 428
417 const_iv (EV, BACKEND_SELECT) 429 const_iv (EV, BACKEND_SELECT)
418 const_iv (EV, BACKEND_POLL) 430 const_iv (EV, BACKEND_POLL)
421 const_iv (EV, BACKEND_DEVPOLL) 433 const_iv (EV, BACKEND_DEVPOLL)
422 const_iv (EV, BACKEND_PORT) 434 const_iv (EV, BACKEND_PORT)
423 const_iv (EV, FLAG_AUTO) 435 const_iv (EV, FLAG_AUTO)
424 const_iv (EV, FLAG_NOENV) 436 const_iv (EV, FLAG_NOENV)
425 const_iv (EV, FLAG_FORKCHECK) 437 const_iv (EV, FLAG_FORKCHECK)
438
439 const_iv (EV_, VERSION_MAJOR)
440 const_iv (EV_, VERSION_MINOR)
426 }; 441 };
427 442
428 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) 443 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
429 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); 444 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv));
430 445
461 evapi.loop_destroy = ev_loop_destroy; 476 evapi.loop_destroy = ev_loop_destroy;
462 evapi.loop_fork = ev_loop_fork; 477 evapi.loop_fork = ev_loop_fork;
463 evapi.loop_count = ev_loop_count; 478 evapi.loop_count = ev_loop_count;
464 evapi.now = ev_now; 479 evapi.now = ev_now;
465 evapi.now_update = ev_now_update; 480 evapi.now_update = ev_now_update;
481 evapi.suspend = ev_suspend;
482 evapi.resume = ev_resume;
466 evapi.backend = ev_backend; 483 evapi.backend = ev_backend;
467 evapi.unloop = ev_unloop; 484 evapi.unloop = ev_unloop;
468 evapi.ref = ev_ref; 485 evapi.ref = ev_ref;
469 evapi.unref = ev_unref; 486 evapi.unref = ev_unref;
470 evapi.loop = ev_loop; 487 evapi.loop = ev_loop;
546 C_ARGS: evapi.default_loop 563 C_ARGS: evapi.default_loop
547 564
548void ev_now_update () 565void ev_now_update ()
549 C_ARGS: evapi.default_loop 566 C_ARGS: evapi.default_loop
550 567
568void ev_suspend ()
569 C_ARGS: evapi.default_loop
570
571void ev_resume ()
572 C_ARGS: evapi.default_loop
573
551unsigned int ev_backend () 574unsigned int ev_backend ()
552 C_ARGS: evapi.default_loop 575 C_ARGS: evapi.default_loop
553 576
554unsigned int ev_loop_count () 577unsigned int ev_loop_count ()
555 C_ARGS: evapi.default_loop 578 C_ARGS: evapi.default_loop
1264 1287
1265NV ev_now (struct ev_loop *loop) 1288NV ev_now (struct ev_loop *loop)
1266 1289
1267void ev_now_update (struct ev_loop *loop) 1290void ev_now_update (struct ev_loop *loop)
1268 1291
1292void ev_suspend (struct ev_loop *loop)
1293
1294void ev_resume (struct ev_loop *loop)
1295
1269void ev_set_io_collect_interval (struct ev_loop *loop, NV interval) 1296void ev_set_io_collect_interval (struct ev_loop *loop, NV interval)
1270 1297
1271void ev_set_timeout_collect_interval (struct ev_loop *loop, NV interval) 1298void ev_set_timeout_collect_interval (struct ev_loop *loop, NV interval)
1272 1299
1273unsigned int ev_backend (struct ev_loop *loop) 1300unsigned int ev_backend (struct ev_loop *loop)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines