fix regression in pthread_cond_wait with cancellation disabled
due to a logic error in the use of masked cancellation mode, pthread_cond_wait did not honor PTHREAD_CANCEL_DISABLE but instead failed with ECANCELED when cancellation was pending.
Showing
想要评论请 注册 或 登录