aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-07 15:32:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-07 15:32:40 +0000
commitd9ff829a71d7b5723206e4923bcab6cbe3f5b715 (patch)
tree5911229eb2c3234ecafc48eefda439814c986f5a /src/include
parentd785c8a7e5e58dc2ef41afdfee47e605ef1216f5 (diff)
downloadChibiOS-d9ff829a71d7b5723206e4923bcab6cbe3f5b715.tar.gz
ChibiOS-d9ff829a71d7b5723206e4923bcab6cbe3f5b715.tar.bz2
ChibiOS-d9ff829a71d7b5723206e4923bcab6cbe3f5b715.zip
Fixes to the zero timeout. Added a test case.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@813 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r--src/include/scheduler.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/include/scheduler.h b/src/include/scheduler.h
index c79f061f7..565496dd3 100644
--- a/src/include/scheduler.h
+++ b/src/include/scheduler.h
@@ -41,12 +41,18 @@
#define HIGHPRIO 127 /**< Highest user priority.*/
#define ABSPRIO 255 /**< Greatest possible priority.*/
-/** Zero time specification for all the syscalls with a timeout
- specification.*/
+/**
+ * Zero time specification for some syscalls with a timeout
+ * specification.
+ * @note Not all functions accept @p TIME_ZERO as timeout parameter, see the
+ * specific documentation.
+ */
#define TIME_ZERO ((systime_t)0)
-/** Infinite time specification for all the syscalls with a timeout
- specification.*/
+/**
+ * Infinite time specification for all the syscalls with a timeout
+ * specification.
+ */
#define TIME_INFINITE ((systime_t)-1)
/** The priority of the first thread on the given ready list. */