Browse Source

clean up comments from chaos.proton@gmail.com.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 13 years ago
parent
commit
cc66f2dee6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ipc.c

+ 2 - 2
src/ipc.c

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