Skip to content
Snippets Groups Projects
Commit 4df3fa02 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

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.
parent a2cd0ca2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment