aboutsummaryrefslogtreecommitdiff
path: root/lib/base/thread.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-30 23:32:15 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-30 23:32:15 +0000
commit5655fee2e15bf1cfc0fe06a85e3c864dbfcd41ce (patch)
tree04b2ca81ee83f3fad88ef645d42a04c53f02563a /lib/base/thread.h
parent05ced3ba36c17c6a13ebb038dee5546c61576ce2 (diff)
downloadenigma2-5655fee2e15bf1cfc0fe06a85e3c864dbfcd41ce.tar.gz
enigma2-5655fee2e15bf1cfc0fe06a85e3c864dbfcd41ce.zip
add a workaround to ensure that the filepush thread take notice of the
stop thread signal even when no syscall is in progress
Diffstat (limited to 'lib/base/thread.h')
-rw-r--r--lib/base/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/thread.h b/lib/base/thread.h
index 819c51fe..12c5b25c 100644
--- a/lib/base/thread.h
+++ b/lib/base/thread.h
@@ -51,7 +51,7 @@ public:
/* result: 0 - thread is not alive
1 - thread state unknown */
int sync();
- void sendSignal(int sig);
+ int sendSignal(int sig);
/* join the thread, i.e. busywait until thread has finnished. */
void kill(bool sendcancel=false);