summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 3270e47..58ee210 100644
--- a/ev.c
+++ b/ev.c
@@ -3137,6 +3137,7 @@ ev_run (EV_P_ int flags)
pipe_write_wanted = 0; /* just an optimisation, no fence needed */
+ MEMORY_FENCE_ACQUIRE;
if (pipe_write_skipped)
{
assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w)));