aboutsummaryrefslogtreecommitdiffstats
path: root/docs/ch.txt
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-14 16:08:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-14 16:08:11 +0000
commitcd679c092078f7ef88c2b62f161eba41ee413702 (patch)
tree7a1fc49bb64f5a7c9f92f889ff9d7e6148bd2e31 /docs/ch.txt
parent721061da2af13b2887962b8649507b3f0f47aabc (diff)
downloadChibiOS-cd679c092078f7ef88c2b62f161eba41ee413702.tar.gz
ChibiOS-cd679c092078f7ef88c2b62f161eba41ee413702.tar.bz2
ChibiOS-cd679c092078f7ef88c2b62f161eba41ee413702.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@233 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'docs/ch.txt')
-rw-r--r--docs/ch.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/ch.txt b/docs/ch.txt
index 257d3d89e..bc6bdc98e 100644
--- a/docs/ch.txt
+++ b/docs/ch.txt
@@ -59,8 +59,8 @@
* @section naming Naming Conventions
* ChibiOS/RT APIs are all named following this convention:
* \a ch\<group\>\<action\>\<suffix\>().
- * The possible groups are: \a Sys, \a Sch, \a VT, \a Thd, \a Sem, \a Evt,
- * \a Msg, \a IQ, \a OQ, \a HQ,\a FDD, \a HDD.
+ * The possible groups are: \a Sys, \a Sch, \a VT, \a Thd, \a Sem, \a Mtx,
+ * \a Evt, \a Msg, \a IQ, \a OQ, \a HQ,\a FDD, \a HDD, \a Dbg.
* The suffix is not present for normal APIs but can be one of
* the following: "I" for APIs meant to be invoked from an interrupt handler
* or within the system mutex zone but not from user code, "S" for APIs only
@@ -79,6 +79,10 @@
* Note that the currently running thread is not in the ready list, the list
* only contains the threads ready to be executed but still actually waiting.
*
+ * @section states Threads States Diagram
+ * The image shows how threads can change their state in ChibiOS/RT.<br>
+ * @image html states.png
+ *
* @section warea Thread Working Area
* Each thread has its own stack, a Thread structure and a registers dump
* structure. All the structures are allocated into a "Thread working area",
@@ -87,7 +91,6 @@
* have as many threads you want as long you have enough available RAM
* memory. The threads do not use any memory outside the allocated working
* area.<br>
-
* @image html workspace.png
* <br>
* Note that the registers dump is only present when the Thread is not