How pthread_mutex_lock is implemented

后端 未结 2 1817
再見小時候
再見小時候 2020-11-30 21:44

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

2条回答
  •  执笔经年
    2020-11-30 22:28

    On Linux, pthreads is available through libc. The usual is glibc, and the source is available here!

    Check this reference.

提交回复
热议问题