bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linuxthreads problem


From: Dustin McIntire
Subject: linuxthreads problem
Date: Tue, 11 Sep 2001 10:43:48 -0700

I'm using glibc 2.2.4 with a linux 2.4.8 kernel running on a Hitachi SH4.
Pthreads appears to be broken with respect to pthread_allocate_stack().
With the SH4, the mmap syscall will not return the same pointer unless the
MAP_FIXED flag is set.  I noticed that this flag is not used for the
_STACK_GROWS_DOWN implementation, but it is for the _STACK_GROWS_UP
implementation.  Why are these different?  The kernel.org people tell me
that there is no guarantee of the returned pointer without the MAP_FIXED
flag.

Dustin.

===========================================
Dustin McIntire
Sensoria Corporation
===========================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]