Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between LinuxThreads and NPTL?

LinuxThreads
0
Posted

What is the difference between LinuxThreads and NPTL?

0

• http://homepages.tesco.net/~J.deBoynePollard/FGA/linux-thread-problems.html • http://people.redhat.com/drepper/nptl-design.pdf • http://linuxdevices.com/articles/AT6753699732.html To tell which one your compiler suite and distro is using, use one of the following two methods • getconf ( works only on recent glibc ) [loic@neumann loic]$ getconf GNU_LIBPTHREAD_VERSION NPTL 0.61 # that’s NPTL v0.61 [loic@neumann loic]$ getconf GNU_LIBPTHREAD_VERSION linuxthreads-0.10 # that’s LinuxThread v0.10 • ldd (always works) Assuming that you want to know with libpthreads the binary /your_bin/ is using, then run the command: `ldd your_bin | grep libc.so.6 | cut -d’ ‘ -f 3` | egrep -i ‘linuxthreads|nptl’ Example with your_bin=/bin/ls: If you have LinuxThreads: [loic@neumann loic]$ `ldd /bin/ls | grep libc.so.6 | cut -d’ ‘ -f 3` | egrep -i ‘linuxthreads|nptl’ linuxthreads-0.10 by Xavier Leroy Or if you have NPTL: [loic@neumann loic]$ `ldd /bin/ls | grep libc.so.6 | cut -d’ ‘ -f 3` | egrep -i ‘linuxt

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123