summaryrefslogtreecommitdiff
path: root/src/ipcpd/timerwheel.c
Commit message (Collapse)AuthorAgeFilesLines
* lib, ipcp: Correctly init condvarsdimitri staessens2017-02-091-11/+13
| | | | | The timerwheel and RIB use timedwaits. The condition variables are now correctly initialised to use the configuration defined clock.
* lib: Log to the logging systemdimitri staessens2017-02-081-5/+5
| | | | | | | | | | This removes the logfile and outputs log messages to the logging system. The creation of the logfiles (as well as the ap_init() call) were moved into ipcp_init() to simplify the IPCP creation and shutdown. Fixes #25 Fixes #27
* build: Update licenses and copyrightdimitri staessens2017-01-091-1/+1
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* lib: Revise implementation of listdimitri staessens2017-01-091-2/+2
| | | | Adds LGPL license to the ouroboros lists.
* ouroboros: Correct license statementsdimitri staessens2016-12-241-3/+2
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* ipcpd, lib: Fix timerwheel issues / time_utilsdimitri staessens2016-11-251-10/+13
| | | | | | | Timerwheel would skip some additions due to a missed wakeup signal. Addition of timespecs and timevals in the time utilities would overflow tv_nsec/tv_usec if the sum is an integer number of seconds.
* ipcpd: Add timerwheeldimitri staessens2016-11-251-0/+361
The timerwheel can be used to defer work to a certain timeslot in the future.