Controls how to use the while (true) cycle threads, or there are other ways
CodePudding user response:
Open the thread, as a result, entrusted to the UI thread
CodePudding user response:
What other requirements allowing you to use the infinite loop

CodePudding user response: