Summary

This chapter discusses running Unix tasks from Cocoa and how to use multithreading in a Cocoa application. It also discusses many of the issues surrounding threading. All this might scare a developer away from trying to use multiple threads. That is not the intent, though. Yes, it is hard, but it can also be very rewarding. Developers need to carefully think through the decision to jump into multithreading and only use it where it is necessary and makes sense. Knowing what to expect before making the jump will hopefully help with the decision and make the jump, if taken, much less painful. Advance knowledge enables the possibility of making preparations with the intent of avoiding potential pitfalls.

The next chapter talks about how ...

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.