Fix a typo in a debug assertion.
This commit is contained in:
parent
0832b11df0
commit
78cdc9f113
@ -77,7 +77,7 @@ int pthread_cancel(pthread_t thread)
|
|||||||
return ESRCH;
|
return ESRCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT((tcb-cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD);
|
DEBUGASSERT((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD);
|
||||||
|
|
||||||
/* Check to see if this thread has the non-cancelable bit set in its
|
/* Check to see if this thread has the non-cancelable bit set in its
|
||||||
* flags. Suppress context changes for a bit so that the flags are stable.
|
* flags. Suppress context changes for a bit so that the flags are stable.
|
||||||
|
Loading…
Reference in New Issue
Block a user