mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Misc.
This commit is contained in:
parent
d4a5f39021
commit
0f671fc249
@ -62,16 +62,16 @@ private:
|
|||||||
if (thread != currTID)
|
if (thread != currTID)
|
||||||
{
|
{
|
||||||
HANDLE hThread = OpenThread(THREAD_QUERY_INFORMATION, false, thread);
|
HANDLE hThread = OpenThread(THREAD_QUERY_INFORMATION, false, thread);
|
||||||
// commented exit code check - looks like OS does not return handle
|
// commented exit code check - looks like OS does not return handle
|
||||||
// for already exited thread
|
// for already exited thread
|
||||||
// DWORD exitCode = STILL_ACTIVE;
|
//DWORD exitCode = STILL_ACTIVE;
|
||||||
if (hThread)
|
if (hThread)
|
||||||
{
|
{
|
||||||
// GetExitCodeThread(hThread, &exitCode);
|
//GetExitCodeThread(hThread, &exitCode);
|
||||||
CloseHandle(hThread);
|
CloseHandle(hThread);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if ((!hThread) || (exitCode != STILL_ACTIVE))
|
//if ((!hThread) || (exitCode != STILL_ACTIVE))
|
||||||
if (!hThread)
|
if (!hThread)
|
||||||
{
|
{
|
||||||
// Thread does not exist any more
|
// Thread does not exist any more
|
||||||
@ -89,7 +89,7 @@ private:
|
|||||||
Firebird::Mutex mutex;
|
Firebird::Mutex mutex;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StringsBuffer(Firebird::MemoryPool& p) : processBuffer(p) { }
|
explicit StringsBuffer(Firebird::MemoryPool& p) : processBuffer(p) { }
|
||||||
|
|
||||||
~StringsBuffer()
|
~StringsBuffer()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user