主进程启动4个线程。现在,所有4个线程都将立即开始执行,但我希望所有线程都等待到其余的线程也处于运行状态。void *thread_routine(void *arg) // this thread should wait here till rest of all threads are also ready to run
}
{
in
我知道SIGCONT继续之前被SIGSTOP停止的进程。我可以多次使用SIGCONT而不使用SIGSTOP吗?也就是说,下面的序列是有效的?SIGCONT to process A : Process resumesSIGCONT to process A : Process already runs - this SIGCONT has no effect
.