Linux Posix 线程教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7058722/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Posix thread tutorial
提问by nik
I'm looking for a comprehensive pthread tutorial. I considered buying Programming with posix threadsbut this book seems is bit dated. Other online tutorials like thisare very basic. Can someone please suggest a good and complete pthread tutorial.
我正在寻找一个全面的 pthread 教程。我考虑过购买posix 线程编程,但这本书似乎有点过时了。像这样的其他在线教程非常基础。有人可以建议一个好的和完整的 pthread 教程。
采纳答案by Branko Dimitrijevic
Lawrence Livermore National Laboratory has an excellent tutorial at:
劳伦斯利弗莫尔国家实验室有一个很好的教程:
回答by user902691
回答by dajobe
The LLNL one is good but I also found http://randu.org/tutorials/threads/which is for C but clearly written and very useful.
LLNL 很好,但我也找到了http://randu.org/tutorials/threads/,它适用于 C,但写得很清楚,非常有用。