diff options
author | Rickard Green <[email protected]> | 2010-06-01 13:52:51 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-06-01 13:52:51 +0000 |
commit | 0b81970d641577dfbcb7d0ba31090c4e362cf860 (patch) | |
tree | 9cd07e0fe9cdf09b65809f50fce9eef0c9eacfc0 /erts/include/internal | |
parent | 9e57c65cac4dd1c26db98bfc8d0295cbc39a28e9 (diff) | |
download | otp-0b81970d641577dfbcb7d0ba31090c4e362cf860.tar.gz otp-0b81970d641577dfbcb7d0ba31090c4e362cf860.tar.bz2 otp-0b81970d641577dfbcb7d0ba31090c4e362cf860.zip |
OTP-8661 Enable writer preferred pthread read/write locks on Linux
Writer preferred pthread read/write locks has been enabled on Linux.
Diffstat (limited to 'erts/include/internal')
-rw-r--r-- | erts/include/internal/ethread_header_config.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/include/internal/ethread_header_config.h.in b/erts/include/internal/ethread_header_config.h.in index cf25ad3f55..c9fd87c2f6 100644 --- a/erts/include/internal/ethread_header_config.h.in +++ b/erts/include/internal/ethread_header_config.h.in @@ -50,6 +50,13 @@ /* Define if you have a pthread_rwlock implementation that can be used */ #undef ETHR_HAVE_PTHREAD_RWLOCK_INIT +/* Define if you have the pthread_rwlockattr_setkind_np() function. */ +#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP + +/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock + attribute. */ +#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP + /* Define if you have gcc atomic operations */ #undef ETHR_HAVE_GCC_ATOMIC_OPS |