mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 11:29:15 -04:00
12 lines
411 B
C
12 lines
411 B
C
--- main/lock.c.orig 2017-10-13 17:46:56 UTC
|
|
+++ main/lock.c
|
|
@@ -703,9 +703,6 @@ int __ast_rwlock_init(int tracking, const char *filena
|
|
#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);
|
|
|