Sets the current thread’s priority.
Original signature is '+ (BOOL)setThreadPriority:(double)priority'
Available in Mac OS X v10.2 and later.
Declaration Syntax
Parameters
- priority (Double)
- The new priority, specified with a floating point number from 0.0 to 1.0, where 1.0 is highest priority.
Return Value
YES if the priority assignment succeeded, NO otherwise.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)