This chapter describes how to incorporate Multiprocessing Services into your Mac OS application. You should read this chapter if you are interested in adding preemptive tasks to your application.
Note: This document describes version 2.1 of Multiprocessing Services. For a list of functions changed or added between versions 1.4 and 2.1, see “Preemptive Task–Safe Mac OS System Software Functions.” Applications built using older versions of Multiprocessing Services can execute without modification under version 2.1.
Important: Preemptive tasks cannot execute 68K code. If you must call 68K code in a task, you must do so through a remote procedure call as described in “Making Remote Procedure Calls.”
Multiprocessing Services in Mac OS 9 and Mac OS X
Compatibility with Older System Software
Criteria for Creating Tasks
Checking for the Availability of Multiprocessing Services
Determining the Number of Processors
Creating Tasks
Terminating Tasks
Synchronizing and Notifying Tasks
Allocating Memory in Tasks
Using Task-Specific Storage
Using Timers
Making Remote Procedure Calls
Handling Exceptions and Debugging
Last updated: 2007-10-31