repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5581e60
)
linux: fix compilation
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 2 Feb 2012 01:37:09 +0000
(
02:37
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 2 Feb 2012 01:37:09 +0000
(
02:37
+0100)
src/lib/platform/posix/os-threads.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/platform/posix/os-threads.h
b/src/lib/platform/posix/os-threads.h
index f417b12d2901dec4d3a6fe11c47ada5ddf1a0a40..48e1e355ca16e8ee18965852cda41bfd48329c63 100644
(file)
--- a/
src/lib/platform/posix/os-threads.h
+++ b/
src/lib/platform/posix/os-threads.h
@@
-95,12
+95,12
@@
namespace PLATFORM
bool Wait(mutex_t &mutex, uint32_t iTimeoutMs)
{
sched_yield();
- if (iTimeout > 0)
+ if (iTimeout
Ms
> 0)
{
- struct timespec timeout = GetAbsTime(iTimeout);
- return (pthread_cond_timedwait(&
cond
, &mutex, &timeout) == 0);
+ struct timespec timeout = GetAbsTime(iTimeout
Ms
);
+ return (pthread_cond_timedwait(&
m_condition
, &mutex, &timeout) == 0);
}
- return (pthread_cond_wait(&
cond
, &mutex) == 0);
+ return (pthread_cond_wait(&
m_condition
, &mutex) == 0);
}
pthread_cond_t m_condition;