我是多线程编程的初学者,现在我知道当pthead_cond_wait()等待时发送信号时,结果取决于操作系统。有人能告诉我如何知道呼叫是如何中断的,以及如何编写可移植的代码吗?pthread_mutex_unlock(&mut);}
cc -o condwait condwait.c -lpthread
[1] xxxxxsignal called
after pthread_con
: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused "permissionnot terminate sucessfully: container_linux.go:392: signaling init process caused "permission denied": unknown error after kill: runc did not terminate suce