cheney-lin / articals

0 stars 0 forks source link

同步 #7

Closed cheney-lin closed 6 years ago

cheney-lin commented 6 years ago

进程间同步

  1. mutex mutex一般用于线程同步,但也可以用来做进程同步
  2. 文件锁 http://blog.csdn.net/wangcg123/article/details/53765284
  3. 信号量
cheney-lin commented 6 years ago

深入理解并行编程原版

https://www.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html