![]() |
MPSetTaskStorageValue |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Sets the storage value for a given index number.
OSStatus MPSetTaskStorageValue ( TaskStorageIndex index, TaskStorageValue value );
The index number whose storage value you want to set.
The value you want to set.
A result code.
Typically you use MPSetTaskStorageValue to store pointers to task-specific structures or data.
Calling this function from within a task effectively assigns a value in a two-dimensional array cross-referenced by task storage index value and the task ID.
Also see the function MPGetTaskStorageValue.
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)