Set default type to PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, this
is the type we are using.
This commit is contained in:
parent
62778483f7
commit
a24bcc04b2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214046
@ -83,6 +83,7 @@ _pthread_rwlockattr_init(pthread_rwlockattr_t *rwlockattr)
|
||||
return(ENOMEM);
|
||||
|
||||
prwlockattr->pshared = PTHREAD_PROCESS_PRIVATE;
|
||||
prwlockattr->kind = PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP;
|
||||
*rwlockattr = prwlockattr;
|
||||
|
||||
return(0);
|
||||
|
Loading…
Reference in New Issue
Block a user