summaryrefslogtreecommitdiff
path: root/tests/lib/test_seqlock.c
AgeCommit message (Collapse)Author
2021-05-02tests: fix assert.h header change falloutDavid Lamparter
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2019-07-31lib/seqlock: avoid syscalls in no-waiter casesDavid Lamparter
When we have no contention on the seqlock, we shouldn't incur the cost of syscalls. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2019-06-13*: config.h or zebra.h is the first #includeDavid Lamparter
This is mostly relevant for Solaris, where config.h sets up some #define that affect overall header behaviour, so it needs to be before anything else. Signed-off-by: David Lamparter <equinox@diac24.net>
2019-04-18lib: add "seqlock" wait/broadcast primitiveDavid Lamparter
Manually tested rather extensively in addition to included unit tests, should work as intended. NB: The OpenBSD futex() code is "future"; it's not actually in OpenBSD (yet?) and thus untested. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>