I was so happy I found the semi-colon from hell that I didn't
notice another typo in the same line. This typo makes libthr unuseable, but it's effects where counter-balanced by the extra semicolon, which made libthr remarkably useable for the past several months.
This commit is contained in:
parent
58ac352f32
commit
e55c35c433
@ -180,7 +180,7 @@ _umtx_lock(struct thread *td, struct _umtx_lock_args *uap)
|
||||
if (owner == -1)
|
||||
return (EFAULT);
|
||||
|
||||
if (owner == MTX_CONTESTED)
|
||||
if (owner == UMTX_CONTESTED)
|
||||
return (0);
|
||||
|
||||
/* If this failed the lock has changed, restart. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user