diff --git a/include/thread.h b/include/thread.h index 6684027bc..66143c01b 100644 --- a/include/thread.h +++ b/include/thread.h @@ -34,8 +34,9 @@ class Thread int start(unsigned int ss=64, bool jemalloc_tcache=true); int join(); - int detach(); - pthread_t self(); +// commenting the following code because we don't use it +// int detach(); +// pthread_t self(); virtual void* run() = 0; diff --git a/lib/thread.cpp b/lib/thread.cpp index 8587a98bc..e21f3866d 100644 --- a/lib/thread.cpp +++ b/lib/thread.cpp @@ -69,6 +69,7 @@ int Thread::join() return result; } +/* commenting the following code because we don't use it int Thread::detach() { int result = -1; @@ -84,3 +85,4 @@ int Thread::detach() pthread_t Thread::self() { return m_tid; } +*/