aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 07:42:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-08 07:42:49 +0000
commit3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79 (patch)
treebd6a58ca1b94282ad154d3e9d27eb471cd7386fa /os/kernel/templates
parent348922bb1cf72c4812256ee4b0317ac492d78ddb (diff)
downloadChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.tar.gz
ChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.tar.bz2
ChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1383 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/templates')
-rw-r--r--os/kernel/templates/chconf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/os/kernel/templates/chconf.h b/os/kernel/templates/chconf.h
index 41dddd5d4..e7de80a13 100644
--- a/os/kernel/templates/chconf.h
+++ b/os/kernel/templates/chconf.h
@@ -44,10 +44,12 @@
* @brief Round robin interval.
* @details This constant is the number of system ticks allowed for the
* threads before preemption occurs. Setting this value to zero
- * disables the round robin mechanism.
+ * disables the preemption for threads with equal priority and the
+ * round robin becomes cooperative. Note that higher priority
+ * threads can still preempt, the kernel is always preemptive.
*
- * @note Disabling round robin makes the kernel more compact and generally
- * faster but forbids multiple threads at the same priority level.
+ * @note Disabling the round robin preemption makes the kernel more compact
+ * and generally faster.
*/
#if !defined(CH_TIME_QUANTUM) || defined(__DOXYGEN__)
#define CH_TIME_QUANTUM 20