[uClibc] Thread Groups with Pthreads

Alexandre Oliva aoliva at redhat.com
Fri Jun 25 18:54:24 UTC 2004


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.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the uClibc mailing list