aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chregistry.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src/chregistry.c')
-rw-r--r--os/kernel/src/chregistry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c
index 186d97e35..b02d5f1fb 100644
--- a/os/kernel/src/chregistry.c
+++ b/os/kernel/src/chregistry.c
@@ -33,6 +33,8 @@
* the main thread unless it terminated.
* @note A reference is added to the returned thread in order to make sure
* it status is not lost.
+ * @note This function cannot return @p NULL because there is always at
+ * least one thread in the system.
*
* @return A reference to the first thread.
*/