summaryrefslogtreecommitdiffstats
path: root/raul/Thread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Thread.hpp')
-rw-r--r--raul/Thread.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/raul/Thread.hpp b/raul/Thread.hpp
index 50d7025..4d5cef3 100644
--- a/raul/Thread.hpp
+++ b/raul/Thread.hpp
@@ -79,14 +79,7 @@ protected:
bool _exit_flag;
private:
-
- inline static void* _static_run(void* me) {
- pthread_setspecific(_thread_key, me);
- Thread* myself = (Thread*)me;
- myself->_run();
- myself->_pthread_exists = false;
- return NULL; // and I
- }
+ static void* _static_run(void* me);
/** Allocate thread-specific data key */
static void thread_key_alloc() {