4 74 9 Chapter 22: Living in a Shared Environment
any other work that they may happen to be doing). Within your ap-
plication, you may choose to use several threads that can process
more or less simultaneously as the operating system optimizes the
sharing of its resources; and within your application~even if it is
single-threaded~your objects may share themselves and data ele-
ments.
Cocoa provides the tools to do all this at a very basic level~so basic
that you may not even be aware of what it's doing all the time. Your
awareness and implementation of sharing are limited to implement-
ing a few class-specific methods and calling ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.