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
|
else
|
||||||
{
|
{
|
||||||
/* in initialization status, the value is 1. Therefore, if the
|
/* The value of mutex is 1 in initial status. Therefore, if the
|
||||||
* value is great than 1, which indicates the mutex is avaible.
|
* value is great than 0, it indicates the mutex is avaible.
|
||||||
*/
|
*/
|
||||||
if (mutex->value > 0)
|
if (mutex->value > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue