diff options
author | chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> | 2023-09-25 01:21:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 01:21:15 +0300 |
commit | 2bc6188be3957c0a36eed7b3b99f8d1c2054936d (patch) | |
tree | 699332cf74c99ff99ac355656459fc41d95e2491 /tasks.c | |
parent | d43062ba7862f6c354ca414b411958ce12a7187f (diff) |
Update pxMutexHolder is NULL check description (#800)
Diffstat (limited to 'tasks.c')
-rw-r--r-- | tasks.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6186,9 +6186,8 @@ static void prvResetNextTaskUnblockTime( void ) traceENTER_xTaskPriorityInherit( pxMutexHolder ); - /* If the mutex was given back by an interrupt while the queue was - * locked then the mutex holder might now be NULL. _RB_ Is this still - * needed as interrupts can no longer use mutexes? */ + /* If the mutex is taken by an interrupt, the mutex holder is NULL. Priority + * inheritance is not applied in this scenario. */ if( pxMutexHolder != NULL ) { /* If the holder of the mutex has a priority below the priority of |