Index: src/synch/condvar.c
===================================================================
--- src/synch/condvar.c	(revision 63975c62f0e49af16148b3ad410f753777122898)
+++ src/synch/condvar.c	(revision ac5665a981b0b319b6da1ea5d2d89409716149c5)
@@ -27,9 +27,15 @@
  */
 
-#include <synch/synch.h>
 #include <synch/condvar.h>
 #include <synch/mutex.h>
 #include <synch/waitq.h>
+#include <synch/synch.h>
 
+/** Initialize condition variable
+ *
+ * Initialize condition variable.
+ *
+ * @param cv Condition variable.
+ */
 void condvar_initialize(condvar_t *cv)
 {
@@ -37,4 +43,11 @@
 }
 
+/** Signal the condition has become true
+ *
+ * Signal the condition has become true
+ * to the first waiting thread by waking it up.
+ *
+ * @param Condition variable.
+ */
 void condvar_signal(condvar_t *cv)
 {
@@ -42,4 +55,11 @@
 }
 
+/** Signal the condition has become true
+ *
+ * Signal the condition has become true
+ * to all waiting threads by waking them up.
+ *
+ * @param Condition variable.
+ */
 void condvar_broadcast(condvar_t *cv)
 {
@@ -47,4 +67,10 @@
 }
 
+/** Wait for the condition becoming true
+ *
+ * Wait for the condition becoming true.
+ *
+ * @param Condition variable.
+ */
 int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int trywait)
 {
