summaryrefslogtreecommitdiff
path: root/src/ipcpd/tests/timerwheel_test.c
Commit message (Collapse)AuthorAgeFilesLines
* lib, ipcp: Correctly init condvarsdimitri staessens2017-02-091-0/+1
| | | | | The timerwheel and RIB use timedwaits. The condition variables are now correctly initialised to use the configuration defined clock.
* ipcpd: Fix timerwheel testdimitri staessens2017-01-131-1/+5
| | | | | | | | Sometimes the timerwheel test could fail because of scheduler timings (an issue more apparent in Virtual Machines). When the first check fails, the test will wait for another complete round of the timerwheel. The maximum number of slots in the test is reduced to reduce the test time.
* 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.
* 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-9/+16
| | | | | | | 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/+92
The timerwheel can be used to defer work to a certain timeslot in the future.