… | |
… | |
413 | struct base : ev_watcher |
413 | struct base : ev_watcher |
414 | { |
414 | { |
415 | #if EV_MULTIPLICITY |
415 | #if EV_MULTIPLICITY |
416 | EV_PX; |
416 | EV_PX; |
417 | |
417 | |
|
|
418 | // loop set |
418 | void set (EV_P) throw () |
419 | void set (EV_P) throw () |
419 | { |
420 | { |
420 | this->EV_A = EV_A; |
421 | this->EV_A = EV_A; |
421 | } |
422 | } |
422 | #endif |
423 | #endif |
… | |
… | |
781 | EV_END_WATCHER (fork, fork) |
782 | EV_END_WATCHER (fork, fork) |
782 | #endif |
783 | #endif |
783 | |
784 | |
784 | #if EV_ASYNC_ENABLE |
785 | #if EV_ASYNC_ENABLE |
785 | EV_BEGIN_WATCHER (async, async) |
786 | EV_BEGIN_WATCHER (async, async) |
786 | void set () throw () { } |
|
|
787 | |
|
|
788 | void send () throw () |
787 | void send () throw () |
789 | { |
788 | { |
790 | ev_async_send (EV_A_ static_cast<ev_async *>(this)); |
789 | ev_async_send (EV_A_ static_cast<ev_async *>(this)); |
791 | } |
790 | } |
792 | |
791 | |