aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chregistry.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-17 16:24:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-17 16:24:43 +0000
commit7ae3e3227ee895c3ed5ac3358411b07276c7838e (patch)
tree2d72cfb2839f315943af0270220d644389356d1e /os/kernel/src/chregistry.c
parent392c2fe70d224c4f564ebab5dcd3f0d607a546f0 (diff)
downloadChibiOS-7ae3e3227ee895c3ed5ac3358411b07276c7838e.tar.gz
ChibiOS-7ae3e3227ee895c3ed5ac3358411b07276c7838e.tar.bz2
ChibiOS-7ae3e3227ee895c3ed5ac3358411b07276c7838e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1748 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chregistry.c')
-rw-r--r--os/kernel/src/chregistry.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c
index 5ed8ace2e..ad5cd7fc1 100644
--- a/os/kernel/src/chregistry.c
+++ b/os/kernel/src/chregistry.c
@@ -22,13 +22,21 @@
* @brief Threads registry code.
*
* @addtogroup registry
- * @details Threads Registry related APIs and services.<br>
- * The threads Threads Registry is a double linked list that holds
- * all the active threads in the system.<br>
- * The registry is meant to be mainly a debug feature, as example
- * through the registry a debugger can enumerate the active threads
- * in any given moment or the shell can print the active threads and
- * their state.<br>
+ * @details Threads Registry related APIs and services.
+ *
+ * <h2>Operation mode</h2>
+ * The Threads Registry is a double linked list that holds all the
+ * active threads in the system.<br>
+ * Operations defined for the registry:
+ * - <b>First</b>, returns the first, in creation order, active thread
+ * in the system.
+ * - <b>Next</b>, returns the next, in creation order, active thread
+ * in the system.
+ * .
+ * The registry is meant to be mainly a debug feature, as example,
+ * using the registry a debugger can enumerate the active threads
+ * in any given moment or the shell can print the active threads
+ * and their state.<br>
* Another possible use is for centralized threads memory management,
* terminating threads can pulse an event source and an event handler
* can perform a scansion of the registry in order to recover the