PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
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
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment