ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Process functions / Threads, semaphores, signals and mutex
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Pauses the current thread during the specified duration.
Caution: If an Thread stop request is made by another Thread (ThreadRequestStop function), the pause stops immediately without waiting for the specified time.
Versions 21 and later
Universal Windows 10 App This function is now available for Universal Windows Platform applications.
Versions 23 and later
Stored procedures This function is now available in the code of stored procedures.
Example
ThreadPause(100)
Syntax
ThreadPause(<Timing>)
<Timing>: entier
Timeout defined for the thread (in hundredths of a second). This parameter can be:
  • an integer corresponding to the number of hundredths of a second,
  • a Duration variable,
  • Versions 23 and later
    a duration in a readable format (e.g., '1s' or '10cs').
Remarks
  • It is recommended to use ThreadPause instead of Multitask or Timing when several threads are used (including the main application thread) if the timeout does not need to process user actions.
  • In a Service application, ThreadPause must be replaced with ServiceWait.
Component: wd290vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/11/2023

Send a report | Local help