mirror of https://github.com/openssl/openssl.git
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> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/28635)
This commit is contained in:
parent
2788ec5017
commit
d8ecbb37dc
|
|
@ -41,7 +41,11 @@
|
|||
|
||||
# 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