summaryrefslogtreecommitdiffstats
path: root/testsuite/sleep01/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sleep01/test_main.c')
-rw-r--r--testsuite/sleep01/test_main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/sleep01/test_main.c b/testsuite/sleep01/test_main.c
index ffea7420..576c166f 100644
--- a/testsuite/sleep01/test_main.c
+++ b/testsuite/sleep01/test_main.c
@@ -1,3 +1,13 @@
+/**
+ * @file
+ *
+ * The following functions are tested: msleep(), msleep_spin(), tsleep(),
+ * wakeup() and wakeup_one().
+ * SLAVE_COUNT tasks are created. Each one increments its own counter and
+ * then it is sent to sleep with tsleep(). All tasks are grouped under the
+ * same channel. This means that all threads are woken up if wakeup() is called.
+ */
+
/*
* Copyright (c) 2013 embedded brains GmbH. All rights reserved.
*