mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 20:54:25 +08:00
clean up comments from chaos.proton@gmail.com.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
8c54e1c47b
commit
cc66f2dee6
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user