Carbon


MPGetTaskStorageValue

Header: Multiprocessing.h Carbon status: Supported

Gets the storage value stored at a specified index number.

TaskStorageValue MPGetTaskStorageValue (
    TaskStorageIndex index
);
Parameter descriptions
index

The index number of the storage value you want to obtain.

function result

The value stored at the specified index number.

DISCUSSION

Calling this function from within a task effectively reads a value in a two-dimensional array cross-referenced by task storage index value and the task ID.

Note that since this function does not return any status information, it may not be immediately obvious whether the returned storage value is valid.

Also see the function MPSetTaskStorageValue.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

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)