clean up access to mutex type in pthread_mutex_trylock
there was no point in masking off the pshared bit when first loading the type, since every subsequent access involves a mask anyway. not masking it may avoid a subsequent load to check the pshared flag, and it's just simpler.
Showing
想要评论请 注册 或 登录