8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 03:23:03 +01:00
This commit is contained in:
dimitr 2008-01-26 23:23:15 +00:00
parent 2ab2747afe
commit b68df58eac

View File

@ -332,7 +332,7 @@ static SERVER_REQ alloc_request()
#if defined(DEV_BUILD) && defined(DEBUG)
int request_count = 0;
#endif
/* Allocate a memory block to store the request in */
if (request)
{
@ -363,7 +363,7 @@ static SERVER_REQ alloc_request()
printf("alloc_request allocate request %x\n", request);
#endif
}
request->req_next = NULL;
request->req_chain = NULL;
return request;
@ -5344,7 +5344,8 @@ static THREAD_ENTRY_DECLARE loopThread(THREAD_ENTRY_PARAM flags)
USHORT inactive_count = 0;
USHORT timedout_count = 0;
THREAD_ENTER();
SchedulerContext scHolder;
rem_port* port;
@ -5522,8 +5523,6 @@ static THREAD_ENTRY_DECLARE loopThread(THREAD_ENTRY_PARAM flags)
}
}
THREAD_EXIT();
#ifdef WIN_NT
if (!((SLONG) flags & SRVR_non_service))
CNTL_remove_thread(thread);