summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-01-05 09:56:29 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-05 09:56:29 +0100
commitf356d01d0cf8fec2ee58f66a9b5c00c93defbc47 (patch)
treebfb552b413491e067063c6c9f87b757d88a8762e /os/os-solaris.h
parent4fa6d0f862ad56382199fbb68c05da484d3f7e20 (diff)
downloadfio-f356d01d0cf8fec2ee58f66a9b5c00c93defbc47.tar.gz
fio-f356d01d0cf8fec2ee58f66a9b5c00c93defbc47.tar.bz2
Only use process shared mutexes on support platforms
On FreeBSD, suggest the use of threads instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 51c0ff4b..35148d2d 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -10,6 +10,7 @@
#define FIO_HAVE_FALLOCATE
#define FIO_HAVE_POSIXAIO_FSYNC
#define FIO_HAVE_CPU_AFFINITY
+#define FIO_HAVE_PSHARED_MUTEX
#define OS_MAP_ANON MAP_ANON
#define OS_RAND_MAX 2147483648UL