Add support for OpenBSD
authorBrad Smith <brad@comstyle.com>
Sat, 25 Feb 2023 02:17:16 +0000 (21:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Jul 2023 15:42:09 +0000 (11:42 -0400)
commitb44ec5e311e451073580f5bcfb46eb3a16446ef4
tree22f9023ec3dbd928f833c860c5fe400de84ebced
parentde217ade9f82fcb2ddf39aeb23629af2ee3236f3
Add support for OpenBSD

- Add OpenBSD to syscall compatibility header as appropriate.
- Add function for retrieving the thread id in urcu_get_thread_id().
- Rely on pthread cond variables for futex compatibility.

It builds on all of our archs and fully run time tested on amd64.

Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I5cca5962ba3dc3113c9bd12e544b6e6f77dfdb61
include/urcu/syscall-compat.h
tests/common/thread-id.h
This page took 0.025212 seconds and 4 git commands to generate.