Default thread library
Not sure if this is the right forum to post this question...
When pthread_create() is called from user code, how can I find out which version of the implementation is used, LinuxThreads or NPTL? If Code:
$getconf GNU_LIBPTHREAD_VERSION Thank, -n |
that command gives a return on both.
Code:
$ getconf GNU_LIBPTHREAD_VERSION Code:
$ getconf GNU_LIBPTHREAD_VERSION for now at least most all linux systems use NPTL as default but also have linuxthreads as a fallback unless someone specifically compiles their glibc without linuxthreads or the system is very old and has linuxthreads only. |
All times are GMT -5. The time now is 04:33 PM. |