Hello everyone))
Guys please tell me - is there any way to create thread in lunux , which will not executed itself (at all) - until will get SIGCONT signal?
I can't thread self stopping after creation , because in this case - we cann't be sure that the thread will be stopped exactly before (not after) parent process will send SIGCONT to it - that's possible that the thread will be find in not active state after getting SIGCONT from another one (because of multithreading)
So I need to be sure that the thread has been stoped by the moment the other thread send the SIGCONT to the first one.
If someone know - how to do this - please help.
big thanks in advance))