Instance Property

threadDictionary

The thread object's dictionary.

Declaration

@property(readonly, retain) NSMutableDictionary *threadDictionary;

Discussion

You can use the returned dictionary to store thread-specific data. The thread dictionary is not used during any manipulations of the NSThread object—it is simply a place where you can store any interesting data. For example, Foundation uses it to store the thread’s default NSConnection and NSAssertionHandler instances. You may define your own keys for the dictionary.

See Also

Working with Thread Properties

name

The name of the receiver.

stackSize

The stack size of the receiver, in bytes.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software