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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ThreadResume (Function)
In french: ThreadReprend
Warning
This function is strongly not recommended because it violently stops the current thread. It can cause serious problems (critical section not released, etc.). It is recommended to use ThreadWaitSignal and ThreadSendSignal.
Resumes the execution of a thread that was interrupted by ThreadSuspend.
Reminder A thread is a process launched in parallel with the current application ("main thread"). This allows you to run a task in the background (e.g. backup, etc.).
Example
// -- Clic sur le champ Bouton BTN_Enregistre
// Suspend l'impression en tâche de fond
ThreadSuspend("Impression_fond")
// Enregistrement
...
// Reprend l'impression
ThreadResume("Impression_fond")
Syntax
ThreadResume(<Thread>)
<Thread>: Character string
Name of the thread to restart. This name is given when running the thread (ThreadExecute).
No error occurs if the thread does not exist (thread already stopped for example).
Business / UI classification: Neutral code
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help