summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/un-namespace.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-10-20 02:34:02 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-10-20 02:34:02 +0000
commit1126acd0dc63c0b7713bc81b5e71684fb87c7fc0 (patch)
tree6187f2f58cdd428ad27ac0f3fb042a22046585f2 /lib/libc/include/un-namespace.h
parent520d21ea78ad909c12b58c25403192af742c855c (diff)
downloadFreeBSD-src-1126acd0dc63c0b7713bc81b5e71684fb87c7fc0.zip
FreeBSD-src-1126acd0dc63c0b7713bc81b5e71684fb87c7fc0.tar.gz
Revert revision 214007, I realized that MySQL wants to resolve
a silly rwlock deadlock problem, the deadlock is caused by writer waiters, if a thread has already locked a reader lock, and wants to acquire another reader lock, it will be blocked by writer waiters, but we had already fixed it years ago.
Diffstat (limited to 'lib/libc/include/un-namespace.h')
-rw-r--r--lib/libc/include/un-namespace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h
index 7a8f9d9..00f0df2 100644
--- a/lib/libc/include/un-namespace.h
+++ b/lib/libc/include/un-namespace.h
@@ -158,10 +158,8 @@
#undef pthread_rwlock_unlock
#undef pthread_rwlock_wrlock
#undef pthread_rwlockattr_destroy
-#undef pthread_rwlockattr_getkind_np
#undef pthread_rwlockattr_getpshared
#undef pthread_rwlockattr_init
-#undef pthread_rwlockattr_setkind_np
#undef pthread_rwlockattr_setpshared
#undef pthread_self
#undef pthread_set_name_np
OpenPOWER on IntegriCloud