Programming with POSIX threads. David R. Butenhof

Programming with POSIX threads


Programming.with.POSIX.threads.pdf
ISBN: 0201633922,9780201633924 | 398 pages | 10 Mb


Download Programming with POSIX threads



Programming with POSIX threads David R. Butenhof
Publisher: Addison-Wesley Professional




I learned thread programming with POSIX thread or pthread while I was C/C++ programmer long time ago. The Phi coprocessor uses MIMD threads that place no restriction on how threads run or communicate. POSIX Pthreads are a popular example of an API that supports this generic capability. I've used both POSIX threads (Pthreads) and Windows threads APIs, and I believe that Windows has the better programming model of the two. Http://www.itpub.net/thread-1465552-1-1.html Programming With POSIX Threads(POSIX多线程程序设计)中文版扫描版POSIX多线程程序设计(Programming with POSIX Threads)http://ishare.iask.sina.com.cn/f/16295865.html. Multi-Threaded Programming With POSIX Threads Table Of Contents: Before We Start What Is a Thread? Butenhof's excellent book Programming with POSIX Threads:. Creating And Destroying Threads Synchronizing Threads With Mutexes What Is A Mutex? The pthread is build on notion like Mutex ,Conditions Variable. This means that your thread should only do compute-bound things, and should avoid calling just about any system or library function. Java's synchronize, wait and notify always baffled me.