8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 08:43:03 +01:00

Oops. Incomplete stuff has been accidentally committed. Rolled back now.

This commit is contained in:
dimitr 2008-01-28 14:09:05 +00:00
parent b2c4317560
commit a3782c9362

View File

@ -228,7 +228,6 @@ static bool shutting_down = false;
static SRVR servers; static SRVR servers;
static Firebird::GlobalPtr<Firebird::Semaphore> requests_semaphore; static Firebird::GlobalPtr<Firebird::Semaphore> requests_semaphore;
static Firebird::GlobalPtr<Firebird::Semaphore> cleanup_semaphore;
static const UCHAR request_info[] = static const UCHAR request_info[] =
@ -5518,7 +5517,6 @@ static THREAD_ENTRY_DECLARE loopThread(THREAD_ENTRY_PARAM flags)
THREAD_ENTER(); THREAD_ENTER();
if (shutting_down) if (shutting_down)
{ {
cleanup_semaphore->release();
return 0; return 0;
} }
--threads_waiting; --threads_waiting;
@ -5557,7 +5555,7 @@ void SRVR_shutdown()
} }
// let them terminate // let them terminate
cleanup_semaphore->tryEnter(1); THREAD_SLEEP(1 * 1000);
} }