Type Property

current

Returns the thread object representing the current thread of execution.

Declaration

class var current: Thread { get }

Return Value

A thread object representing the current thread of execution.

See Also

Querying the Environment

class func isMultiThreaded() -> Bool

Returns whether the application is multithreaded.

class var callStackReturnAddresses: [NSNumber]

Returns an array containing the call stack return addresses.

class var callStackSymbols: [String]

Returns an array containing the call stack symbols.

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