阅读背景:

How to (properly) use robust pthreads for process synchronization?

来源:互联网 

We have a bug in a production system, where a process segfaults while holding a shared memory mutex. We'd like it to release the lock when dying. We use sem_wait()/sem_post(), but doing my homework, I've found that this API does not allow for such a behavior:We have a bug in a production system, where a p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: