From d522ed7e67689a11291e99e49b5768e973de90bb Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Tue, 4 Oct 2011 00:36:40 +0200 Subject: [PATCH] cec: fixed return value of StopThread() --- project/libcec.vcxproj.filters | 18 ++++++++++-------- src/lib/util/threads.h | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) 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; -- 2.34.1