projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Conditionally enable FIO_HAVE_PSHARED_MUTEX on FreeBSD
[fio.git]
/
os
/
os-freebsd.h
diff --git
a/os/os-freebsd.h
b/os/os-freebsd.h
index c7863b5e02eb5b978f266cc5d9329827c1819aca..3d7dbe6573b8a8841e4cdcd0f38db22e8c06448a 100644
(file)
--- a/
os/os-freebsd.h
+++ b/
os/os-freebsd.h
@@
-24,6
+24,10
@@
#define FIO_HAVE_CPU_AFFINITY
#define FIO_HAVE_SHM_ATTACH_REMOVED
+#if _POSIX_THREAD_PROCESS_SHARED > 0
+#define FIO_HAVE_PSHARED_MUTEX
+#endif
+
#define OS_MAP_ANON MAP_ANON
#define fio_swap16(x) bswap16(x)