PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 23 → ThreadPause instead of MultiTask
ThreadPause instead of MultiTask
Débuté par IOAKIM, 08 nov. 2018 14:50 - Aucune réponse
Posté le 08 novembre 2018 - 14:50
I have a thread in which I make use of the function MultiTask with a negative parameter (If <Time-out> = -1, the application gives control back to Windows without waiting during 1 hundredth of a second). It is noted that ThreadPause must be used instead of Multitask when several threads are used, but unfortunately ThreadPause does not allow negative parameters. So the question that is posed is, how am I supposed to make use of ThreadPause and have the same functionality as MultiTask(-1) ?