]> git.proxmox.com Git - mirror_frr.git/commit - lib/subdir.am
lib: add "seqlock" wait/broadcast primitive
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 25 May 2015 04:36:10 +0000 (06:36 +0200)
committerDavid Lamparter <equinox@diac24.net>
Thu, 18 Apr 2019 10:44:29 +0000 (12:44 +0200)
commit440d5faa3a328e226435785afe7793251746175f
tree365d7c2f8c5378ea8b213b2e4b5d2dfe8196c0e1
parent4cab68a20d81e95ef697a74b1a62e64d3f8b348f
lib: add "seqlock" wait/broadcast primitive

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>
configure.ac
lib/seqlock.c [new file with mode: 0644]
lib/seqlock.h [new file with mode: 0644]
lib/subdir.am
tests/.gitignore
tests/lib/test_seqlock.c [new file with mode: 0644]
tests/subdir.am