diff options
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r-- | src/Thread.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Thread.cpp b/src/Thread.cpp index 8c89707..78edacc 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -31,7 +31,6 @@ namespace Raul { pthread_once_t Thread::_thread_key_once = PTHREAD_ONCE_INIT; pthread_key_t Thread::_thread_key; - Thread::Thread(const std::string& name) : _exit_flag(false) , _name(name) @@ -42,7 +41,6 @@ Thread::Thread(const std::string& name) pthread_setspecific(_thread_key, this); } - /** Must be called from thread */ Thread::Thread(pthread_t thread, const std::string& name) : _exit_flag(false) @@ -55,7 +53,6 @@ Thread::Thread(pthread_t thread, const std::string& name) pthread_setspecific(_thread_key, this); } - /** Return the calling thread. * The return value of this should NOT be cached unless the thread is * explicitly user created with create(). @@ -70,7 +67,6 @@ Thread::get() return *this_thread; } - void* Thread::_static_run(void* thread) { @@ -81,7 +77,6 @@ Thread::_static_run(void* thread) return NULL; } - /** Launch and start the thread. */ void Thread::start() @@ -140,6 +135,5 @@ Thread::set_scheduling(int policy, unsigned int priority) } } - } // namespace Raul |