Retired Document
Important:
The Multiprocessing Services API is deprecated in OS X v10.8. In earlier versions of OS X, Multiprocessing Services allowed legacy apps to support multitasking. In apps that run in OS X v10.8 and later, you should use Grand Central Dispatch or POSIX threads to support multitasking. To learn about multiprocessing on OS X, see Concurrency Programming Guide; to learn about POSIX thread routines, see pthread.
Changes From Previous Versions of Multiprocessing Services
Multiprocessing Services 2.1 supports all the functions available with version 2.0. For compatibility between version 2.0 and older versions, see Table C-3, Table C-4, and Table C-5.
Table C-1 lists Multiprocessing Services functions introduced with version 2.1:
Name  | Comments  | 
|---|---|
  | |
  | |
  | For manipulating kernel notifications. See Kernel Notifications for more information about this notification mechanism.  | 
  | |
  | |
  | 
Table C-2 lists Multiprocessing Services functions that were introduced in version 2.0.
Name  | Comments  | 
|---|---|
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | Preferred over MPAllocate.  | 
MPGetAllocatedBlockSize  | |
  | |
  | |
  | Preferred over   | 
Table C-3 lists the functions that were introduced in version 1.0 that are still supported in version 2.0.
Name  | Comments  | 
|---|---|
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | In C, a macro that calls   | 
  | |
  | |
  | |
  | |
  | |
  | |
  | |
  | Deprecated. Use   | 
  | |
  | |
  | In C, a macro that checks to see if the   | 
Table C-4 shows unofficial functions included in earlier header files that remain supported in version 2.0. Note, however, that future versions may not support these functions.
Name  | Comments  | 
|---|---|
  | Deprecated. Use   | 
  | Deprecated. Use   | 
  | |
  | |
  | 
Table C-5 shows functions used for debugging that are no longer supported in version 2.0. You can access these functions for older builds if you #define MPIncludeDefunctServices to be nonzero. 
Name  | Comments  | 
|---|---|
  | |
  | |
  | |
  | |
  | 
Copyright © 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-07-23