Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
I've never owned any apple products, but I have a coworker who has one and he said it's the best phone he's ever had. And he's pretty much had every apple phone around. His biggest like is the light weight.
Recent Achievements
BizSAR earned a badge Reacting Well
AndreaB earned a badge First Post
Huge Trailer earned a badge Week One Done
Classifyskilleducation earned a badge Week One Done
Question
wa22guy
Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
How?
Link to comment
https://www.neowin.net/forum/topic/231284-c-how-do-i-pausedelaywait-in-c/Share on other sites
18 answers to this question
Recommended Posts