[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pthread needs to use uselocale
From: |
Marcus Brinkmann |
Subject: |
pthread needs to use uselocale |
Date: |
Wed, 20 Nov 2002 19:06:28 +0100 |
User-agent: |
Mutt/1.4i |
Hi Neal,
I think you need a change similar to this for libthreads in libpthread:
2002-08-26 Roland McGrath <roland@frob.com>
* cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to
initialize the thread to the global locale.
The failure is that functions like isprint segfault if you don't initialize
the ctype related threadvar's.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pthread needs to use uselocale,
Marcus Brinkmann <=