On Monday 04 May 2009 12:09:18 Cathey, Jim wrote: > Depends on whether you're using Linux threads, > or the NPTL (?). The older package gives them > separate PID's, the newer does not. In other > words, it depends on your libc configuration. > (They both get ID's like pids, but the tids > are somehow marked to not show up in ps, etc. > with the newer library.)
the Linuxthreads implementation does result in different pids at the kernel level, but NPTL does not. both result in different tids. there is no special handling with tids. the /proc/ listing shows only unique pids while /proc/<pid>/task/ shows all tids for that pid. since uClibc only ships with linuxthreads atm, it'll behave exactly the same as older glibc versions. this is also useful for people who arent running linux-2.6 as that is required for NPTL. > Nothing to do with BB, certainly. correct -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
