summaryrefslogtreecommitdiffstats
path: root/testsuite/sleep01/test_main.c
diff options
context:
space:
mode:
authorMoyano, Gabriel <gabriel.moyano@dlr.de>2020-04-03 09:35:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-09 08:35:41 +0200
commit0444b24bf9a928a39cf4e8c9eaa096b6f242ae55 (patch)
tree49af86fe079d5295e86b07f6d926ba938579827c /testsuite/sleep01/test_main.c
parenttestsuite: CONFIGURE_MAXIMUM_FILE_DESCRIPTORS (diff)
downloadrtems-libbsd-0444b24bf9a928a39cf4e8c9eaa096b6f242ae55.tar.bz2
testsuite: A description for each test added
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.
*