From a2bab9c63d848ccfce1440afd40e1eed7b2955ef Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 9 Mar 2009 11:17:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@825 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chmtx.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/chmtx.c') diff --git a/src/chmtx.c b/src/chmtx.c index 396825735..b1d32d220 100644 --- a/src/chmtx.c +++ b/src/chmtx.c @@ -93,6 +93,12 @@ void chMtxLockS(Mutex *mp) { /* boost the owner of this mutex if needed */ tp = tp->p_wtmtxp->m_owner; continue; +#if CH_USE_CONDVARS + case PRWTCOND: + /* Requeues tp with its new priority on the condvar queue. */ + prio_insert(dequeue(tp), &tp->p_wtcondp->c_queue); + break; +#endif #if CH_USE_SEMAPHORES_PRIORITY case PRWTSEM: /* Requeues tp with its new priority on the semaphore queue. */ -- cgit v1.2.3