Michal 'hramrach' Suchanek <[EMAIL PROTECTED]> writes:
> static void
> entry_point (void *(*start_routine)(void *), void *arg)
> {
> + assert (uselocale (LC_GLOBAL_LOCALE) == 0);
>pthread_exit (start_routine (arg));
> }
That's a misuse of assert. You should never depend on sideeffects in
This time I made a simple test that tries post and wait.
I can synchronize two threads without a segfault.
--
Michal Suchanek
[EMAIL PROTECTED]
diff -Nurx CVS libpthread.org/Makefile libpthread/Makefile
--- libpthread.org/Makefile 2002-11-26 19:04:34.0 +0100
+++ libpthread/Makefile 2
> And a simple fix to libpthread that makes it not segfault.
I have committed something similar.
___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd
On Tue, Nov 26, 2002 at 05:52:52PM +0100, Michal 'hramrach' Suchanek wrote:
> Attaching a simple error printing program that segfaults
> for me.
And a simple fix to libpthread that makes it not segfault.
But I'm not sure the fix implements exactly the right thing. But it makes
initial thread locale
Argh, I'm an idiot. I removed the wrong field.
___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd
Wrong list. Please read the email you recived more carefully.
> To confirm the request, please send a message to
> [EMAIL PROTECTED], and either:
___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd
I tried to write a semaphore test and it always segfaulted while printing an
error.
Attaching a simple error printing program that segfaults (after pthread_create)
for me.
--
Michal Suchanek
[EMAIL PROTECTED]
#define _GNU_SOURCE
#include
#include
#include
#include
#include
#include
#incl
On Tue, 2002-11-26 at 05:06, Michal 'hramrach' Suchanek wrote:
> Generating locales...
> cs_CZ.UTF-8...cannot lock locale archive "/usr/lib/locale/locale-archive":
>Operation canceled
>
> During first install it generated only the first locale, all subsequent
> invocations failed.
The locales
It appears localedef locks /usr/lib/locale/locale-archive the first time it
runs but never unlocks it.
ii libc0.32.3.1-5
part of output of apt-get --reinstall install locales:
Generating locales...
cs_CZ.UTF-8...cannot lock locale archive "/usr/lib/locale/locale-archive": Operation