开发者

pthread_mutex_destroy blocks in infinite loop

I use POSIX threads on iPhone/iPad and when I try to destroy a mutex, pthread_mutex开发者_StackOverflow社区_destroy blocks in infinite loop. I did not find anything about this. It should return an error code...

Do you know something about this?

Thanks!


It's possible that your pthread_mutex_t was locked during the call to pthread_mutex_destroy, as the behavior in that case is undefined.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜