git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1690 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2010-02-28 13:20:38 +00:00
parent 7d9957e5ef
commit ce0845ef81
2 changed files with 3 additions and 2 deletions

View File

@ -149,8 +149,8 @@ msg_t chCondWaitS(CondVar *cp) {
"not owning a mutex");
mp = chMtxUnlockS();
prio_insert(ctp, &cp->c_queue);
ctp->p_u.wtobjp = cp;
prio_insert(ctp, &cp->c_queue);
chSchGoSleepS(THD_STATE_WTCOND);
msg = ctp->p_u.rdymsg;
chMtxLockS(mp);
@ -216,8 +216,8 @@ msg_t chCondWaitTimeoutS(CondVar *cp, systime_t time) {
"not owning a mutex");
mp = chMtxUnlockS();
prio_insert(ctp, &cp->c_queue);
ctp->p_u.wtobjp = cp;
prio_insert(ctp, &cp->c_queue);
chSchGoSleepTimeoutS(THD_STATE_WTCOND, time);
msg = ctp->p_u.rdymsg;
chMtxLockS(mp);

View File

@ -55,6 +55,7 @@
*** 1.5.3 ***
- NEW: Enhanced the kernel size report to cover more cases.
- OPT: Minor optimizations in the "compact" code path.
*** 1.5.2 ***
- FIX: Fixed wrong UART deinitialization sequence in LPC214x serial driver