mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-05 08:31:53 +00:00
Merge commit '6a242b3ec66f2ab89f9277e67125eab3e3676644' into mq-merge-step-1
This commit is contained in:
commit
481d3acca9
@ -2226,12 +2226,12 @@ io_loop(void)
|
|||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
times_update(&main_timeloop);
|
times_update(&main_timeloop);
|
||||||
events = ev_run_list(&global_event_list);
|
ev_run_list(&global_event_list);
|
||||||
events = ev_run_list_limited(&global_work_list, WORK_EVENTS_MAX) || events;
|
ev_run_list_limited(&global_work_list, WORK_EVENTS_MAX);
|
||||||
timers_fire(&main_timeloop);
|
timers_fire(&main_timeloop);
|
||||||
io_close_event();
|
io_close_event();
|
||||||
|
|
||||||
// FIXME
|
events = !EMPTY_LIST(global_event_list) || !EMPTY_LIST(global_work_list);
|
||||||
poll_tout = (events ? 0 : 3000); /* Time in milliseconds */
|
poll_tout = (events ? 0 : 3000); /* Time in milliseconds */
|
||||||
if (t = timers_first(&main_timeloop))
|
if (t = timers_first(&main_timeloop))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user