Kaydet (Commit) 54d8d771 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix build

Change-Id: I90d6826e4544fd39120982f80d41e237a5edbab6
üst 25ab24b4
...@@ -338,7 +338,7 @@ void ThreadTaskTag::waitUntilDone() ...@@ -338,7 +338,7 @@ void ThreadTaskTag::waitUntilDone()
#ifdef DBG_UTIL #ifdef DBG_UTIL
// 2 minute timeout in debug mode so our tests fail sooner rather than later // 2 minute timeout in debug mode so our tests fail sooner rather than later
osl::Condition::Result rv = maTasksComplete.wait(TimeValue { 2*60, 0 }); osl::Condition::Result rv = maTasksComplete.wait(TimeValue { 2*60, 0 });
assert(rv != osl_cond_result_timeout); assert(rv != osl::Condition::result_timeout);
#else #else
// 10 minute timeout in production so the app eventually throws some kind of error // 10 minute timeout in production so the app eventually throws some kind of error
if (maTasksComplete.wait(TimeValue { 10*60, 0 }) == osl::Condition::Result::result_timeout) if (maTasksComplete.wait(TimeValue { 10*60, 0 }) == osl::Condition::Result::result_timeout)
......
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