Manager: Thread Manager



Carbon fully supports the Thread Manager. Note, however, that the Thread Manager provides only cooperative threading for PowerPC applications. Applications can use the Multiprocessing Services API to create preemptively scheduled tasks.

Note that several Thread Manager functions that did not require you to pass universal procedure pointers (UPPs) for callbacks now require them in Carbon. See the Carbon Porting Notes for more information.

Supported  CreateThreadPool

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  DisposeDebuggerDisposeThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeDebuggerNewThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeDebuggerThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeThread

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  DisposeThreadEntryUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeThreadSwitchUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  DisposeThreadTerminationUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  GetCurrentThread

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetDefaultThreadStackSize

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetFreeThreadCount

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetSpecificFreeThreadCount

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetThreadCurrentTaskRef

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetThreadState

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  GetThreadStateGivenTaskRef

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  InvokeDebuggerDisposeThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeDebuggerNewThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeDebuggerThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeThreadEntryUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeThreadSwitchUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  InvokeThreadTerminationUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewDebuggerDisposeThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewDebuggerNewThreadUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewDebuggerThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Modified  NewThread

For Carbon applications, you must create and pass a universal procedure pointer (UPP) to specify the new thread callback. Use the NewThreadEntryUPP and DisposeThreadEntryUPP functions to create and remove the UPP. Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  NewThreadEntryUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewThreadSchedulerUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewThreadSwitchUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Supported  NewThreadTerminationUPP

Available in CarbonLib 1.0 and later. Available in Mac OS X 10.0 and later.

Modified  SetDebuggerNotificationProcs

For Carbon applications, you must create and pass a universal procedure pointer (UPP) to specify the notification callbacks. You must use the designated UPP creation and disposal functions. For example, for the new thread notifier, you call the NewDebuggerNewThreadUPP and DisposeDebuggerNewThreadUPP functions. Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  SetThreadReadyGivenTaskRef

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Modified  SetThreadScheduler

For Carbon applications, you must create and pass a universal procedure pointer (UPP) to specify the thread scheduler callback. Use the NewThreadSchedulerUPP and DisposeThreadSchedulerUPP functions to create and remove the UPP. Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  SetThreadState

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  SetThreadStateEndCritical

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Modified  SetThreadSwitcher

For Carbon applications, you must create and pass a universal procedure pointer (UPP) to specify the thread switcher callback. Use the NewThreadSwitchUPP and DisposeThreadSwitchUPP functions to create and remove the UPP. Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Modified  SetThreadTerminator

For Carbon applications, you must create and pass a universal procedure pointer (UPP) to specify the thread terminator callback. Use the NewThreadTerminationUPP and DisposeThreadTerminationUPP functions to create and remove the UPP. Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  ThreadBeginCritical

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  ThreadCurrentStackSpace

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  ThreadEndCritical

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  YieldToAnyThread

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

Supported  YieldToThread

Available in CarbonLib 1.0 and later when Thread Mgr 1.0 or later is present. Available in Mac OS X 10.0 and later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 12/12/2001. Copyright © 1999-2001 Apple Computer, Inc. All rights reserved.