Sorry I know this is stupid but where is linux libc source code available? What I downloaded from GNU didn\'t seem to be what I wanted, specifically I could find nothing in
If you're on a Debian-derived system, you can use apt-get source libc6
. This will unpack a eglibc-2.12.1
directory (version number might differ, of course) in your current working directory, and the pthreads support are in the nptl/
directory below that. linuxthreads/
is for the older threading style, in case you're an archaeologist.