fiber_wakeup() is a thread-local function, don't use ev_async_send().
Avoid an unnecessary interlocked instruction or pipe write in fiber_wakeup(), it's always called from the same cord as the one to which the event loop belongs. Use ev_feed_event() with EV_CUSTOM instead.
Loading
Please register or sign in to comment