提交 5e977e8b 编写于 作者: R Rich Felker

recovering ownerdead robust mutex must reset recursive lock count

上级 b6f9974a
......@@ -43,6 +43,7 @@ int pthread_mutex_trylock(pthread_mutex_t *m)
self->robust_list.head = &m->_m_next;
self->robust_list.pending = 0;
if (own) {
m->_m_count = 0;
m->_m_type += 8;
return EOWNERDEAD;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册