diff options
| author | Adam <Adam@anope.org> | 2011-02-20 01:05:16 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-20 01:05:16 -0500 |
| commit | c83b2b73d7c5f264dedb67b878d116b5b10a4742 (patch) | |
| tree | 407251a2bb3bf738194b6ec7654b0872b6bab1d5 /src/threadengines | |
| parent | dfbb5264fac5b418da536cc968aed4bf5cde8b76 (diff) | |
Much more work on the live SQL. Should work pretty decently now under heavy load.
Diffstat (limited to 'src/threadengines')
| -rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 1 | ||||
| -rw-r--r-- | src/threadengines/threadengine_win32.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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); } |
