O'Reilly logo

Multicore Application Programming: For Windows, Linux, and Oracle by Darryl Gove

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required