04 2009 档案

[Linux] pthread_mutex_lock和pthread_spin_lock的性能
摘要:场景是:没有recursive,快进快出 recursive和non-recursive的pthread_mutex性能没多少差别。 pthread_spinlock比pthread_mutex快一倍。 Linux kernel 2.6.9. PS: linux下非recursive的... 阅读全文

posted @ 2009-04-15 11:01 如果蜗牛有爱情 阅读(568) 评论(0) 推荐(0) 编辑

导航