Commenting unused code

pull/3582/head
René Cannaò 5 years ago
parent 0da250ec8d
commit cf33522a25

@ -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;

@ -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;
}
*/

Loading…
Cancel
Save