From d55bc739741ef1b817a46034f431d8267f88f3a1 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Tue, 26 Aug 2008 13:58:29 +0000 Subject: 2008-08-26 Neal H. Walfield MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * sysdeps/mach/pt-thread-alloc.c (__pthread_thread_alloc): Set THREAD->HAVE_KERNEL_RESOURCES to 1, not true. Reported by Flávio Cruz . --- ChangeLog | 6 ++++++ sysdeps/mach/pt-thread-alloc.c | 4 ++-- 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 + + * sysdeps/mach/pt-thread-alloc.c (__pthread_thread_alloc): Set + THREAD->HAVE_KERNEL_RESOURCES to 1, not true. Reported by Flávio + Cruz . + 2008-08-16 Neal H. Walfield * pthread/pt-alloc.c: Don't include . 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; } -- cgit v1.2.3