1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Moved the thread starting code to IO loop code

This commit is contained in:
Maria Matejka
2022-07-28 19:49:03 +02:00
parent 00f6b162c9
commit e858dce757
11 changed files with 57 additions and 127 deletions

View File

@@ -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);
}