|
|
|
|
ThreadPriority (Function) In french: ThreadPriorité Returns or modifies the priority level of a thread.
Syntax
Retrieving the priority level of a thread Hide the details
<Result> = ThreadPriority(<Thread name>)
<Result>: Constant - -1 if the thread does not exist
- Current priority level of thread:
| | PriorityHigh | High priority. | PriorityLow | Low priority. | PriorityNormal | Standard priority. |
<Thread name>: Character string Name of thread whose priority is requested. This name is given when running the thread (ThreadExecute).
Modifying the priority level of a thread Hide the details
<Result> = ThreadPriority(<Thread name> , <Priority>)
<Result>: Constant Priority level of thread before running the function: | | PriorityHigh | High priority. | PriorityLow | Low priority. | PriorityNormal | Standard priority. |
<Thread name>: Character string Name of thread whose priority must be modified. This name is given when running the thread (ThreadExecute). <Priority>: Constant New priority level for the thread: | | PriorityHigh | High priority. | PriorityLow | Low priority. | PriorityNormal | Standard priority. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|