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

Comparing libev/ev.pod (file contents):
Revision 1.295 by root, Sat Jun 26 09:56:57 2010 UTC vs.
Revision 1.297 by root, Tue Jun 29 11:49:02 2010 UTC

1404 { 1404 {
1405 // stop the I/O watcher, we received the event, but 1405 // stop the I/O watcher, we received the event, but
1406 // are not yet ready to handle it. 1406 // are not yet ready to handle it.
1407 ev_io_stop (EV_A_ w); 1407 ev_io_stop (EV_A_ w);
1408 1408
1409 // start the idle watcher to ahndle the actual event. 1409 // start the idle watcher to handle the actual event.
1410 // it will not be executed as long as other watchers 1410 // it will not be executed as long as other watchers
1411 // with the default priority are receiving events. 1411 // with the default priority are receiving events.
1412 ev_idle_start (EV_A_ &idle); 1412 ev_idle_start (EV_A_ &idle);
1413 } 1413 }
1414 1414
3342 ev::io iow; 3342 ev::io iow;
3343 iow.set <myclass, &myclass::io_cb> (&obj); 3343 iow.set <myclass, &myclass::io_cb> (&obj);
3344 3344
3345=item w->set (object *) 3345=item w->set (object *)
3346 3346
3347This is an B<experimental> feature that might go away in a future version.
3348
3349This is a variation of a method callback - leaving out the method to call 3347This is a variation of a method callback - leaving out the method to call
3350will default the method to C<operator ()>, which makes it possible to use 3348will default the method to C<operator ()>, which makes it possible to use
3351functor objects without having to manually specify the C<operator ()> all 3349functor objects without having to manually specify the C<operator ()> all
3352the time. Incidentally, you can then also leave out the template argument 3350the time. Incidentally, you can then also leave out the template argument
3353list. 3351list.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines