From c83b2b73d7c5f264dedb67b878d116b5b10a4742 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 20 Feb 2011 01:05:16 -0500 Subject: Much more work on the live SQL. Should work pretty decently now under heavy load. --- src/threadengines/threadengine_pthread.cpp | 1 + src/threadengines/threadengine_win32.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/threadengines') diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index e8242bb82..f28c43846 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -43,6 +43,7 @@ void Thread::Join() */ void Thread::Exit() { + this->SetExitState(); pthread_exit(0); } diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp index 218f711c4..adefab800 100644 --- a/src/threadengines/threadengine_win32.cpp +++ b/src/threadengines/threadengine_win32.cpp @@ -35,6 +35,7 @@ void Thread::Join() */ void Thread::Exit() { + this->SetExitState(); ExitThread(0); } -- cgit