repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only match one interface, not all three when detecting devices on linux and darwin
[deb_libcec.git]
/
src
/
lib
/
platform
/
threads
/
threads.h
diff --git
a/src/lib/platform/threads/threads.h
b/src/lib/platform/threads/threads.h
index 1f62dcf0c1247511b24d6d7830416699a3a4c5d0..36477708d4750e6c2e035ca739d067f06cdff26a 100644
(file)
--- a/
src/lib/platform/threads/threads.h
+++ b/
src/lib/platform/threads/threads.h
@@
-42,13
+42,13
@@
namespace PLATFORM
m_bStop(false),
m_bRunning(false),
m_bStopped(false),
m_bStop(false),
m_bRunning(false),
m_bStopped(false),
- m_thread(
NULL
) {}
+ m_thread(
INVALID_THREAD_VALUE
) {}
virtual ~CThread(void)
{
StopThread(0);
void *retVal = NULL;
virtual ~CThread(void)
{
StopThread(0);
void *retVal = NULL;
- if (m_thread)
+ if (m_thread
!= INVALID_THREAD_VALUE
)
ThreadsWait(m_thread, &retVal);
}
ThreadsWait(m_thread, &retVal);
}