diff options
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index c91bd597..c1466b56 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2254,7 +2254,7 @@ io_loop(void) } /* A hack to reload main io_loop() when something has changed asynchronously. */ - pipe_pollin(&main_birdloop.wakeup, &pfd[0]); + pipe_pollin(&main_birdloop.thread->wakeup, &pfd[0]); nfds = 1; @@ -2332,8 +2332,8 @@ io_loop(void) if (pfd[0].revents & POLLIN) { /* IO loop reload requested */ - pipe_drain(&main_birdloop.wakeup); - atomic_exchange_explicit(&main_birdloop.ping_sent, 0, memory_order_acq_rel); + pipe_drain(&main_birdloop.thread->wakeup); + atomic_exchange_explicit(&main_birdloop.thread->ping_sent, 0, memory_order_acq_rel); continue; } |