summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-10-30 00:37:15 +0000
committer[email protected] <[email protected]>2011-10-30 00:37:15 +0000
commitcc66f2dee629e2cce7bbf59b0d7e681df780d877 (patch)
tree44219e8eeafa7ff7ce03ba26f22187e19bddfcb4 /src
parent8c54e1c47b8d84cc49e9d46f43ad1fe447dd0c16 (diff)
clean up comments from [email protected].
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
-rw-r--r--src/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc.c b/src/ipc.c
index ded99e4613..40ca8b8478 100644
--- a/src/ipc.c
+++ b/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)
{