From cc66f2dee629e2cce7bbf59b0d7e681df780d877 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sun, 30 Oct 2011 00:37:15 +0000 Subject: [PATCH] clean up comments from chaos.proton@gmail.com. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/ipc.c | 4 ++-- 1 file 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) {