PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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:
    PriorityHighHigh priority
    PriorityNormalStandard priority
    PriorityLowLow priority
<Thread Name>: Character string (with quotes)
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:
PriorityHighHigh priority
PriorityNormalStandard priority
PriorityLowLow priority
<Thread Name>: Character string (with quotes)
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:
PriorityHighHigh priority
PriorityNormalStandard priority
PriorityLowLow priority
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment