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:29 +0000 (11:42 -0400)
commit020351f306d437ed246ec8373219512a1d905d81
treee276f1f4fa602b425a9d170946d484d1cad6860d
parent3021d0b8ae2f31db59698ae2106aac9813dbab1d
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.02491 seconds and 4 git commands to generate.