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>
Sat, 25 Feb 2023 14:43:53 +0000 (09:43 -0500)
commit11f3d1c24e6179abf8247611c5308f41d95389a1
tree0c7d7565ec6bdb4a1295a35c7dc8d2ffb5ee41d6
parentd5a39857691dfd86c2b1fb3a7ba6161b98130ab1
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.02473 seconds and 4 git commands to generate.