I have several threads in my application, i found out they can be suspended, wich is not ok... My threads are protecting my game, and the cheaters found a way to suspend it. Can i somehow prevent this? I tried setting critical priviledges, but it gives BSOD. I need some kind of solution if the thread is suspended then kill the whole process :(
I use now to create: CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(some_thread),NULL,0,0);
Maybe some check if thread suspended? Or i don`t know, some other solution? Thanks!