返回

看您代码很多地方用__sync_lock_test_and_set来模拟锁,但我做了测试效率反而还没直接用pthread_mutex_t来的高,为什么呢?能解惑一下么?

回复 | (2681) | Destiny | 2013-06-25 01:11:20