I am just curious to know how functions related to synchronization between threads are implemented inside Unix. For example, what happens when I call pthread_mutex_lo
pthread_mutex_lo
On Linux, pthreads is available through libc. The usual is glibc, and the source is available here!
Check this reference.