I know pthread_cond_wait unlocks the mutex attached with it. What i would like to locate is the source code of pthread_cond_wait, and to locate unlocking the mutex code. Kindly bare if the question is silly. :). Which library do i have to download and check. I am using Ubuntu.
I know pthread_cond_wait unlocks the mutex attached with it. What i would like to
Share
The
pthread_cond_*functions andpthread_mutex_*functions are part of NPTL which is now part ofglibcon any modern Linux machine. The latest version isglibc-2.11.1and you can find the source code on the GNU glibc download site.