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
@ -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