mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
disable rwlocks on nonstop klt model
It appears nonstops new threading model defines some level of rwlock pthread api, but its not working properly. Disable rwlocks for _KLT_MODEL_ for now Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> (Merged from https://github.com/openssl/openssl/pull/24969)
This commit is contained in:
parent
9bd5e92aff
commit
7408d58714
@ -59,7 +59,11 @@ __tsan_mutex_post_lock((x), 0, 0)
|
||||
|
||||
# include <assert.h>
|
||||
|
||||
# ifdef PTHREAD_RWLOCK_INITIALIZER
|
||||
/*
|
||||
* The Non-Stop KLT thread model currently seems broken in its rwlock
|
||||
* implementation
|
||||
*/
|
||||
# if defined(PTHREAD_RWLOCK_INITIALIZER) && !defined(_KLT_MODEL_)
|
||||
# define USE_RWLOCK
|
||||
# endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user