开发者

PThread monitoring

How does one get the status of a Pthread and what would be a good way to monitor the threads statuses continuously so that if anything goes wrong I can kill the other threads that are linked?

I have two threads, one depends on the constant calculation result and I want to monitor the threads and kill a thread which might end up runn开发者_如何学Cing alone.

What is a good way of doing this?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜