Commit 6d600397 authored by claes's avatar claes

lock.waiting condition removed

parent f52b4c01
...@@ -111,6 +111,7 @@ qos_WaitQue ( ...@@ -111,6 +111,7 @@ qos_WaitQue (
qdb_Unlock; qdb_Unlock;
if (qp->lock.waiting) {
if (tmo != qcom_cTmoEternal) { if (tmo != qcom_cTmoEternal) {
ok = futex_timed_wait(&(qp->lock.pid), 0, (struct timespec *) time_MsToD(&dtime, tmo)); ok = futex_timed_wait(&(qp->lock.pid), 0, (struct timespec *) time_MsToD(&dtime, tmo));
} else { } else {
...@@ -125,6 +126,7 @@ qos_WaitQue ( ...@@ -125,6 +126,7 @@ qos_WaitQue (
if (ok == EWOULDBLOCK) { if (ok == EWOULDBLOCK) {
errh_Error("waitQue - Deadlock would occur"); errh_Error("waitQue - Deadlock would occur");
} }
}
qdb_Lock; qdb_Lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment