diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -626,8 +626,8 @@ rt_err_t rt_mutex_take(rt_mutex_t mutex, rt_int32_t time) } else { - /* in initialization status, the value is 1. Therefore, if the - * value is great than 1, which indicates the mutex is avaible. + /* The value of mutex is 1 in initial status. Therefore, if the + * value is great than 0, it indicates the mutex is avaible. */ if (mutex->value > 0) { |
