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

Loop: keep running the same loop for some time if there is work to do

This commit is contained in:
Maria Matejka
2023-04-06 20:18:04 +02:00
parent 22a0900ec2
commit 6e2f00ff93
3 changed files with 66 additions and 24 deletions

View File

@@ -84,6 +84,10 @@ struct bird_thread
event cleanup_event;
int sock_changed;
uint loop_count;
u64 max_latency_ns;
u64 max_loop_time_ns;
};
#endif