Determining NPTL version
Most recent linux distributions (CentOS 4, Fedora 3+, RHE 4, etc) are NPTL (Native POSIX Thread Library) based. If you want to check if your system is NPTL based, or only if you want to find out what version it is present in your kernel, you can use the following command:
getconf GNU_LIBPTHREAD_VERSION
Sample results: On a Debian Etch system:
getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.6
On a RHEL4 system:
getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.4
For a detailed description on NPTL you can check wikipedia.