git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lower prio for subservice quickzap actions (needed for working seek actions)
[enigma2.git]
/
lib
/
base
/
thread.h
diff --git
a/lib/base/thread.h
b/lib/base/thread.h
index dad80424b526571efc72ecace1848fdc769457a8..819c51fe530ea9186ea8dddaa76a246a20cbd091 100644
(file)
--- a/
lib/base/thread.h
+++ b/
lib/base/thread.h
@@
-29,6
+29,11
@@
public:
eThread();
virtual ~eThread();
eThread();
virtual ~eThread();
+ /* thread_finished is called from within the thread context as the last function
+ before the thread is going to die.
+ It should be used to do final cleanups (unlock locked mutexes ....) */
+ virtual void thread_finished() {}
+
/* runAsync starts the thread.
it assumes that the thread is not running,
i.e. sync() *must* return 0.
/* runAsync starts the thread.
it assumes that the thread is not running,
i.e. sync() *must* return 0.