PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → ThreadPause instead of MultiTask
ThreadPause instead of MultiTask
Started by IOAKIM, Nov., 08 2018 2:50 PM - No answer
Posted on November, 08 2018 - 2:50 PM
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) ?