mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue