diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-11 13:04:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-11 13:04:03 +0000 |
commit | ec1fb708d84d77e700d87da8a1ca947a62eea696 (patch) | |
tree | 1b8c8f9981ce1ff2b90fa7a6926d77ca1820f158 /os/nil/src | |
parent | 7f3e0e57b2a13aa4797a8409e6e63671cb6d6993 (diff) | |
download | ChibiOS-ec1fb708d84d77e700d87da8a1ca947a62eea696.tar.gz ChibiOS-ec1fb708d84d77e700d87da8a1ca947a62eea696.tar.bz2 ChibiOS-ec1fb708d84d77e700d87da8a1ca947a62eea696.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6702 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/nil/src')
-rw-r--r-- | os/nil/src/nil.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c index edd717600..789256127 100644 --- a/os/nil/src/nil.c +++ b/os/nil/src/nil.c @@ -447,7 +447,9 @@ void chThdResumeI(thread_reference_t *trp, msg_t msg) { void chThdSleep(systime_t time) {
chSysLock();
+
chThdSleepS(time);
+
chSysUnlock();
}
@@ -462,7 +464,9 @@ void chThdSleep(systime_t time) { void chThdSleepUntil(systime_t time) {
chSysLock();
+
chThdSleepUntilS(time);
+
chSysUnlock();
}
@@ -545,8 +549,10 @@ msg_t chSemWaitTimeoutS(semaphore_t *sp, systime_t timeout) { void chSemSignal(semaphore_t *sp) {
chSysLock();
+
chSemSignalI(sp);
chSchRescheduleS();
+
chSysUnlock();
}
|