summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2017-02-26 11:47:28 +0000
committerSitsofe Wheeler <sitsofe@yahoo.com>2017-03-14 10:52:42 +0000
commit06eac6b2318da7759a055c4a3ac01c2c1e8aa764 (patch)
tree17097fd4f12266302ceec114c728b7011d6fedb6 /README
parent1df28a3960734e1e00cb2e5fe0e261fcba30f7c7 (diff)
downloadfio-06eac6b2318da7759a055c4a3ac01c2c1e8aa764.tar.gz
fio-06eac6b2318da7759a055c4a3ac01c2c1e8aa764.tar.bz2
configure: add generic pshared mutex test
Add a feature test to configure to determine if a platform has interprocess synchronization primitives that work with threads and remove the hardcoded enablement in the individual os/os-* headers. This should work better for platforms where support was overlooked or didn't exist at some point in the past but has since been added. Also update the README to not single out FreeBSD for being thread only as this might change... This is based off work by the Boost project (https://github.com/boostorg/interprocess/blob/boost-1.63.0/include/boost/interprocess/detail/workaround.hpp#L45 ) that found that OSX 10.6 and Cygwin are buggy even though _POSIX_THREAD_PROCESS_SHARED says this feature should be work on them. Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 9493c2a5..951550b8 100644
--- a/README
+++ b/README
@@ -205,10 +205,10 @@ implemented, I'd be happy to take patches for that. An example of that is disk
utility statistics and (I think) huge page support, support for that does exist
in FreeBSD/Solaris.
-Fio uses pthread mutexes for signalling and locking and FreeBSD does not
-support process shared pthread mutexes. As a result, only threads are
-supported on FreeBSD. This could be fixed with sysv ipc locking or
-other locking alternatives.
+Fio uses pthread mutexes for signalling and locking and some platforms do not
+support process shared pthread mutexes. As a result, on such platforms only
+threads are supported. This could be fixed with sysv ipc locking or other
+locking alternatives.
Other \*BSD platforms are untested, but fio should work there almost out of the
box. Since I don't do test runs or even compiles on those platforms, your