From: Lars Op den Kamp Date: Mon, 3 Oct 2011 22:36:40 +0000 (+0200) Subject: cec: fixed return value of StopThread() X-Git-Tag: upstream/2.2.0~1^2~299 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d522ed7e67689a11291e99e49b5768e973de90bb;hp=2abe74ebbd27d8c30060b3eebb363e10d3fbfd80;p=deb_libcec.git cec: fixed return value of StopThread() --- diff --git a/project/libcec.vcxproj.filters b/project/libcec.vcxproj.filters index ebd5b35..2bc976f 100644 --- a/project/libcec.vcxproj.filters +++ b/project/libcec.vcxproj.filters @@ -42,7 +42,6 @@ platform - exports @@ -64,8 +63,10 @@ exports - - + + + + @@ -80,14 +81,15 @@ platform - platform - - - - + + + + + + diff --git a/src/lib/util/threads.h b/src/lib/util/threads.h index 5c05f41..d1b6239 100644 --- a/src/lib/util/threads.h +++ b/src/lib/util/threads.h @@ -85,7 +85,7 @@ public: virtual bool IsRunning(void) const { return m_bRunning; } virtual bool CreateThread(void); - virtual bool StopThread(bool bWaitForExit = true); + virtual void StopThread(bool bWaitForExit = true); static void *ThreadHandler(CThread *thread); virtual void *Process(void) = 0;