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:
bernard.xiong@gmail.com 2011-10-30 00:37:15 +00:00
parent 8c54e1c47b
commit cc66f2dee6
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{ {