aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ioloop.c
AgeCommit message (Expand)AuthorLines
2021-10-27lib: Use data stack frame with IO switch and destroy callbacksTimo Sirainen-2/+4
2021-10-27lib: Use data stack frame with IO context activate/deactive callbacksTimo Sirainen-2/+4
2021-09-29lib: event_pop_global() - Assert-crash if trying to pop ioloop context's glob...Timo Sirainen-0/+9
2021-09-29lib: Push/pop global event stack automatically when ioloop contexts are switchedTimo Sirainen-0/+45
2021-08-04lib: ioloop - Handle "time moved forwards" only after 100ms differenceTimo Sirainen-1/+10
2021-08-04lib: ioloop - Fix 0 timeout with kqueue() and select()Timo Sirainen-0/+1
2021-07-20lib: Fix assert-crash when destroying ioloop that has active contextTimo Sirainen-2/+2
2021-05-24lib: Free unused data stack memory once per second while running ioloopTimo Sirainen-0/+13
2021-05-07lib: Use array_foreach_elem() where possibleTimo Sirainen-12/+10
2021-05-06lib: Add io_loop_is_empty()Timo Sirainen-0/+7
2021-03-23lib: ioloop - Remove unused timer_is_larger() macroTimo Sirainen-5/+0
2021-03-23lib: test-ioloop - Make sure recreating 0-timeout in callback worksTimo Sirainen-1/+3
2021-03-23lib: ioloop - Fix 0 ms timeouts to trigger without waiting 2ms between callsTimo Sirainen-17/+21
2021-03-01lib: io_loop_context_new() - Fix memory leakTimo Sirainen-1/+1
2021-02-24lib: io_loop_context_new() no longer implicitly activates the contextTimo Sirainen-9/+14
2020-07-02lib: Add io_loop_add/remove_destroy_callback()Timo Sirainen-0/+36
2020-02-06lib: Timeouts may have been run a bit too earlyTimo Sirainen-2/+3
2020-02-06global: Replace most gettimeofday() calls with i_gettimeofday()Timo Sirainen-19/+11
2019-11-07lib: Add io_loop_stop_delayed()Timo Sirainen-0/+8
2019-09-17lib: Add io_loop_get_root()Timo Sirainen-0/+9
2019-08-19lib: Fix updating timeouts after time moves backwardsTimo Sirainen-1/+4
2019-06-26lib: ioloop: Make the callback for io_loop_set_time_moved_callback() use stru...Stephan Bosch-14/+10
2019-06-26lib: ioloop: Perform calculcations for the detection of system clock glitches...Stephan Bosch-19/+28
2019-06-26lib: ioloop: Never decrease wait time counters in ioloop_add_wait_time().Stephan Bosch-2/+8
2019-02-06lib: Add io_is_pending()Timo Sirainen-0/+5
2019-01-10global: Use array_push_backAki Tuomi-4/+4
2018-08-24lib: Make io_loop_move_*(NULL) no-opAki Tuomi-1/+4
2018-08-22lib: Add io_set_never_wait_alone()Timo Sirainen-1/+20
2018-08-22lib: Add and use io_loop_run_get_wait_time()Timo Sirainen-1/+6
2018-05-24lib: io_loop_stop() should stop the ioloop immediatelyTimo Sirainen-1/+2
2018-02-13lib: Fix usec comparison in timeout_update_nextAki Tuomi-1/+1
2018-01-30lib: ioloop: Add functions for adding/moving timeouts and ios to a specific i...Stephan Bosch-45/+131
2018-01-01Updated copyright notices to include the year 2018.Stephan Bosch-1/+1
2017-12-13lib: io_loop_context_deactivate() - Assert that given context is currently ac...Timo Sirainen-1/+1
2017-12-13lib: io_loop_context_new() - deactivate old contextTimo Sirainen-2/+6
2017-12-13lib: io_loop_destroy() - Assert-crash if ioloop contet is still setTimo Sirainen-3/+1
2017-09-20global: start relying on [io]_stream_unref(NULL) being a no-opJosef 'Jeff' Sipek-2/+1
2017-09-20lib: timeout_remove(NULL) should be a no-opJosef 'Jeff' Sipek-1/+6
2017-09-20lib: io_remove(NULL) and io_remove_closed(NULL) should be no-opsJosef 'Jeff' Sipek-0/+6
2017-09-07lib: Free io_switch_callbacks_free only after other atexit-callbacksTimo Sirainen-1/+1
2017-08-09lib: When logging I/O or timeout leak, log also raw backtraceTimo Sirainen-0/+12
2017-08-09lib: Add asserts to make sure running ioloop is always current_ioloopTimo Sirainen-0/+8
2017-08-08lib: If CORE_IO_LEAK environment is set, panic on IO/timeout leaksTimo Sirainen-13/+39
2017-01-29lib: io_loop_set_current() - do nothing if ioloop doesn't changeTimo Sirainen-0/+3
2017-01-01Updated copyright notices to include the year 2017.Stephan Bosch-1/+1
2016-12-24global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zer...Stephan Bosch-1/+1
2016-11-15lib: Added io_wait_timerTimo Sirainen-0/+53
2016-11-15lib: Code cleanup - move code to ioloop_add_wait_time()Timo Sirainen-4/+9
2016-11-15lib: Fix ioloop wait times when io_loop_time_refresh() is usedTimo Sirainen-2/+3
2016-10-24lib: Added ioloop_global_wait_usecsTimo Sirainen-2/+5