What is PTHREAD_MUTEX_ADAPTIVE_NP

前端 未结 3 973
醉酒成梦
醉酒成梦 2021-01-31 17:25

Where can I find documentation for \"adaptive\" pthread mutexes? The symbol PTHREAD_MUTEX_ADAPTIVE_NP is defined on my system, but the only documentation I can find online say

3条回答
  •  猫巷女王i
    2021-01-31 17:59

    Here you go. As I read it, it's a brutally simple mutex that doesn't care about anything except making the no-contention case run fast.

提交回复
热议问题