aboutsummaryrefslogtreecommitdiffstats
path: root/devel/linuxthreads/files/libc_calls.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-25 22:37:11 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-25 22:37:11 +0000
commit85bfda41f77e5c167ba1c8133bbd305831769cb8 (patch)
tree7f5e3564e1250ee4172880e691958f92dafbe4a9 /devel/linuxthreads/files/libc_calls.c
parent857a5228655d26f44de413ae8f4495246b1777d3 (diff)
Don't use the pthreads rwlock implementation for dllockinit(), since it
causes infinite recursion while trying to initialize the internal library state. Instead, use a simple spinlock-based rwlock implementation. Make minor cancellation cleanups.
Diffstat (limited to 'devel/linuxthreads/files/libc_calls.c')
-rw-r--r--devel/linuxthreads/files/libc_calls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/devel/linuxthreads/files/libc_calls.c b/devel/linuxthreads/files/libc_calls.c
index b1233c352302..b86a962b6dbc 100644
--- a/devel/linuxthreads/files/libc_calls.c
+++ b/devel/linuxthreads/files/libc_calls.c
@@ -146,4 +146,3 @@ int tcdrain (fd)
pthread_setcanceltype (oldtype, NULL);
return (ret);
}
-