5. Using POSIX Threads
The POSIX1 standards specify the coding standards for portable UNIX applications. Most UNIX and UNIX-like operating systems adhere to the key features of these; hence, an application coded to the standards will be portable between UNIX implementations and UNIX-like operating systems, such as Linux and FreeBSD, and Mac OS X, which is also based on a UNIX-like kernel. Microsoft Windows does not implement the POSIX standards directly, although there are some solutions that enable programs written using POSIX interfaces to run on Windows platforms.
This chapter will discuss how to write multithreaded programs using the POSIX standard interfaces. These enable an application to create new threads and synchronize and share data ...
Get Multicore Application Programming: For Windows, Linux, and Oracle® Solaris now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.