Home » Community » Newbie corner » While loop, sleep
While loop, sleep [message #60253] |
Thu, 26 October 2023 06:50 |
sniffgriff
Messages: 10 Registered: May 2023 Location: NY
|
Promising Member |
|
|
Hello!
I am trying to run a while loop function in U++, and I want it to run indefinitely. I trigger the while loop in a button. However, when I use sleep(), the whole program waits/freezes for the duration of sleep. Is there a way to run the loop parallel? Where do I trigger the loop function? Sorry if this is obvious, but I appreciate the input/advice.
|
|
|
|
|
While loop, sleep
|
|
|
Re: While loop, sleep
By: koldo on Thu, 26 October 2023 09:03
|
|
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 11:44
|
|
|
Re: While loop, sleep
|
|
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 17:44
|
|
|
Re: While loop, sleep
|
|
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 21:03
|
|
|
Re: While loop, sleep
|
|
|
Re: While loop, sleep
By: zsolt on Fri, 27 October 2023 17:43
|
|
|
Re: While loop, sleep
By: Klugier on Fri, 27 October 2023 21:50
|
|
|
Re: While loop, sleep
|
|
|
Re: While loop, sleep
By: Klugier on Sun, 29 October 2023 20:22
|
|
|
Re: While loop, sleep
|
Goto Forum:
Current Time: Sun May 12 15:28:30 CEST 2024
Total time taken to generate the page: 0.02205 seconds
|