diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-26 13:32:58 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-26 13:32:58 +0000 |
commit | b1f3465325055a224238cd24d2e7c2126f582039 (patch) | |
tree | 5855e2de0406d06c710bcbc2dbad9f4367c47a01 /os/rt | |
parent | c8dff54685e5e904f7e7c6382144ac22035aad10 (diff) | |
download | ChibiOS-b1f3465325055a224238cd24d2e7c2126f582039.tar.gz ChibiOS-b1f3465325055a224238cd24d2e7c2126f582039.tar.bz2 ChibiOS-b1f3465325055a224238cd24d2e7c2126f582039.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6227 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/src/chsys.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/rt/src/chsys.c b/os/rt/src/chsys.c index 19964ec13..c4e31c76c 100644 --- a/os/rt/src/chsys.c +++ b/os/rt/src/chsys.c @@ -221,6 +221,7 @@ void chSysTimerHandlerI(void) { * from any context. Because its flexibility it is less efficient
* than @p chSysLock() which is preferable when the calling context
* is known.
+ * @post The system is in a critical zone.
*
* @return The previous system status, the encoding of this
* status word is architecture-dependent and opaque.
@@ -241,6 +242,8 @@ syssts_t chSysGetStatusAndLockX(void) { /**
* @brief Restores the specified execution status.
+ * @note A call to @p chSchRescheduleS() is automatically performed
+ * is exiting the critical zone and if in proper context.
*
* @param[in] sts the system status to be restored.
*
|