diff options
Diffstat (limited to 'os/nil/src/nil.c')
-rw-r--r-- | os/nil/src/nil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index 9141129cb..bafcb63cd 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -566,6 +566,7 @@ void chSemSignalI(semaphore_t *sp) { while (true) {
/* Is this thread waiting on this semaphore?*/
if (tr->u1.semp == sp) {
+ sp->cnt++;
chDbgAssert(NIL_THD_IS_WTSEM(tr), "not waiting");
|