Home > Net > C # service programs lead to computer crashes
C # service programs lead to computer crashes
Time:11-27
C # Windows service program, is a GPS positioning data server Jammed server computers, accidental happening is CPU instantly ran full, mouse and keyboard response, must press the power button to turn off the server, Formulating rules for return, common the program running, large probability will start only after just restart the server, open the application CPU instantly ran full computer crashes,
Using multi-threaded added sleep, don't know is what reason, hope each great god correct
CodePudding user response:
Just starting, many rely on services and the environment is not ready to
So at this time if not check, there are plenty of exceptions, and then retry,
Such as GPS, haven't even get to the Internet that how make? A lot of abnormal retry, where (true)