CodePudding user response:
Did you do the thread synchronization? That you have to have a Sleep in the for loop, or in the threads continuously running, other threads are not rob chance,CodePudding user response:
Thread to Sleep (0)CodePudding user response:
Well,The main function is in the midst of a timer 0, threads in this thread, there is a FOR function
FOR function at execution time, other timer 1 can't response,
CodePudding user response:
State machine, find out.CodePudding user response:
With thread, also use what timer? To use should also use the "no window timer SetWaitableTimer"