[uClibc] Thread Groups with Pthreads

Michael O'Brien mob at mbedthis.com
Fri Jun 25 20:49:21 UTC 2004


Thanks for the clarification.

Is there anyway to change a threads, thread group or to solve the root
problem of doing a waitpid on a different thread in its own thread
group?

Michael


On Fri, 2004-06-25 at 11:54, Alexandre Oliva wrote:
> On Jun 25, 2004, "Michael O'Brien" <mob at mbedthis.com> wrote:
> 
> > With uClibc vs glibc: the thread group ID (getpid) for a pthread_create
> > process is different. On glibc they are the same. 
> 
> Oly on glibc with NPTL.  If you use linuxthreads, it will get a
> different pid.
> 
> > So why does uClibc create child threads in a different thread group ?
> > Can I control / modify this behavior under uClibc to be more like glibc?
> 
> NPTL requires a lot of kernel, libc and toolchain support, and AFAIK
> it hasn't been ported to uClibc.  No idea of how difficult it would
> be.
-- 
Michael O'Brien
Mbedthis Software
mob at mbedthis.com
(425) 890-1590




More information about the uClibc mailing list