* Execute the given event loop. * @param cookie Event loop to run. */
| 45 | * @param cookie Event loop to run. |
| 46 | */ |
| 47 | void EventLoop::static_execute(void *cookie) |
| 48 | { |
| 49 | static_cast<EventLoop *>(cookie)->execute(); |
| 50 | } |
| 51 | |
| 52 | EventLoop::EventLoop() : |
| 53 | shutdown_(false), |