mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-12 03:21:17 +02:00
13 lines
397 B
C
13 lines
397 B
C
--- main/lock.c.orig 2014-12-12 23:40:50 UTC
|
|
+++ main/lock.c
|
|
@@ -701,9 +701,6 @@ int __ast_rwlock_init(int tracking, cons
|
|
#endif /* DEBUG_THREADS */
|
|
|
|
pthread_rwlockattr_init(&attr);
|
|
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
|
|
- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
|
|
-#endif
|
|
res = pthread_rwlock_init(&t->lock, &attr);
|
|
pthread_rwlockattr_destroy(&attr);
|
|
|