Criar uma Loja Virtual Grátis


Total de visitas: 11206
Programming with POSIX threads pdf free

Programming with POSIX threads by David R. Butenhof

Programming with POSIX threads



Programming with POSIX threads pdf free




Programming with POSIX threads David R. Butenhof ebook
Page: 398
ISBN: 0201633922, 9780201633924
Publisher: Addison-Wesley Professional
Format: djvu


For Linux C programmers, probably the most frequently used lock is mutex from NPTL, the Native POSIX Thread Library. Both are available in Debian: $ sudo aptitude install eztrace vite. In shared memory multiprocessor architectures, such as SMPs, threads can be used to implement parallelism. This means that your thread should only do compute-bound things, and should avoid calling just about any system or library function. The easiest way I found to visualize the runtime behavior of POSIX threads is the combination of EzTrace and ViTE. Butenhof's excellent book Programming with POSIX Threads:. My favorite inter-thread mechanism is the VxWorks MessageQueue. Explains the difference between joinable and detached threads. In order to take full advantage of the capabilities provided by threads, a standardized programming interface was required. For UNIX systems, this interface has been specified by the IEEE POSIX 1003.1c standard (1995). In multithreaded programming, we often speak of locks (also known as mutexes). Http://www.ibm.com/developerworks/linux/library/l-memory-leaks/?cmp=dw&cpb=dwlin&ct=dwnew&cr=dwnen&ccy=zz&csr=090210. Whatever OS I am working in, I simply create an equivalent thread-safe message queue class and use that. In MacOS 10.6.6, a lock implementation is provided using the POSIX Threads API.

More eBooks:
Bacchae (Paul Woodruff Translation) book