Threading Issues

This section discusses some of the issues that must be taken into account when writing multithreaded programs. It is beyond the scope of this book to describe every detail of multithreading. Furthermore, the discussions of each of the issues will be necessarily abbreviated. As such, if you are interested in further discussion it is strongly recommended that you obtain a good computer-science textbook that discusses the issues surrounding multithreaded and concurrent programming. Most operating systems textbooks provide in depth discussions of all the threading issues described in this chapter.

Performance Issues

The first issue is performance. Multithreading can affect a program’s performance in several ways. It can affect ...

Get Cocoa® Programming 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.