diff options
author | unknown <tulin@mysql.com> | 2005-02-01 19:01:37 +0100 |
---|---|---|
committer | unknown <tulin@mysql.com> | 2005-02-01 19:01:37 +0100 |
commit | cf660b001ef6ba154b1d8d15b534a253dcfc14e0 (patch) | |
tree | 7e9b65ed010e4892f4b52ca72eb4f85ef5fd3347 /ndb/src/common/util | |
parent | 514b2364b4156e23fb15f4506a50877011b9c7ef (diff) | |
download | mariadb-git-cf660b001ef6ba154b1d8d15b534a253dcfc14e0.tar.gz |
cleanup and streamlining of thread create/exit in ndb
Diffstat (limited to 'ndb/src/common/util')
-rw-r--r-- | ndb/src/common/util/SocketServer.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ndb/src/common/util/SocketServer.cpp b/ndb/src/common/util/SocketServer.cpp index 8bee256684d..da06389b5df 100644 --- a/ndb/src/common/util/SocketServer.cpp +++ b/ndb/src/common/util/SocketServer.cpp @@ -186,11 +186,7 @@ extern "C" void* socketServerThread_C(void* _ss){ SocketServer * ss = (SocketServer *)_ss; - - my_thread_init(); ss->doRun(); - my_thread_end(); - NdbThread_Exit(0); return 0; } @@ -309,11 +305,8 @@ void* sessionThread_C(void* _sc){ SocketServer::Session * si = (SocketServer::Session *)_sc; - my_thread_init(); if(!transfer(si->m_socket)){ si->m_stopped = true; - my_thread_end(); - NdbThread_Exit(0); return 0; } @@ -325,8 +318,6 @@ sessionThread_C(void* _sc){ } si->m_stopped = true; - my_thread_end(); - NdbThread_Exit(0); return 0; } |