summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-08-26 13:58:29 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-08 00:00:03 +0200
commitd55bc739741ef1b817a46034f431d8267f88f3a1 (patch)
tree746a4537ef535a399ae4d528b5e74ef5c0c5dd09
parent2e166e1a00928d5a31f00c185c2464b2146d6f6a (diff)
2008-08-26 Neal H. Walfield <neal@gnu.org>
* sysdeps/mach/pt-thread-alloc.c (__pthread_thread_alloc): Set THREAD->HAVE_KERNEL_RESOURCES to 1, not true. Reported by Flávio Cruz <Flávio Cruz>.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/mach/pt-thread-alloc.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2365117..23f6569 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-26 Neal H. Walfield <neal@gnu.org>
+
+ * sysdeps/mach/pt-thread-alloc.c (__pthread_thread_alloc): Set
+ THREAD->HAVE_KERNEL_RESOURCES to 1, not true. Reported by Flávio
+ Cruz <Flávio Cruz>.
+
2008-08-16 Neal H. Walfield <neal@gnu.org>
* pthread/pt-alloc.c: Don't include <bits/atomic.h>.
diff --git a/sysdeps/mach/pt-thread-alloc.c b/sysdeps/mach/pt-thread-alloc.c
index 7706a2b..3d7c046 100644
--- a/sysdeps/mach/pt-thread-alloc.c
+++ b/sysdeps/mach/pt-thread-alloc.c
@@ -1,5 +1,5 @@
/* Start thread. Mach version.
- Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2005, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -100,7 +100,7 @@ __pthread_thread_alloc (struct __pthread *thread)
return EAGAIN;
}
- thread->have_kernel_resources = true;
+ thread->have_kernel_resources = 1;
return 0;
}