摘要
本文介绍Linux线程的基本概念,及线程间的互斥和同步机制,分析了Linuxpthread库的API函数,并结合一个例子阐述多线程编程的核心技术,总结出多线程编程应注意的事项。
The basic conception of Linux thread, the mutual exclusion and svnchronization mechanism between threads were introduced in this paper, The API function of the Linuxothread library was analyzed. Combined with an example, it discussed the core, technology of multithread programming, and summarized the mailer needing attention.