diff options
author | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:49:03 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:49:03 +0200 |
commit | e858dce757f8766a29f2151ec3ffef3df85af66b (patch) | |
tree | 3d60cd0d5da345aac0c852b166eb04bec91f3632 /lib/timer.c | |
parent | 00f6b162c9c357bddf48d52d08b6abb6010004b6 (diff) |
Moved the thread starting code to IO loop code
Diffstat (limited to 'lib/timer.c')
-rw-r--r-- | lib/timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/timer.c b/lib/timer.c index c1241ba7..ff6975a4 100644 --- a/lib/timer.c +++ b/lib/timer.c @@ -32,7 +32,6 @@ #include "nest/bird.h" -#include "lib/coro.h" #include "lib/heap.h" #include "lib/resource.h" #include "lib/timer.h" @@ -117,7 +116,7 @@ tm_set_in_tl(timer *t, btime when, struct timeloop *local_timeloop) t->loop = local_timeloop; - if ((t->index == 1) && (local_timeloop->coro != this_coro)) + if (t->index == 1) birdloop_ping(local_timeloop->loop); } |