mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Fixed #7060: Deadlock when execute test for CORE-4337
This commit is contained in:
parent
4cc5a9e824
commit
f361da98d1
@ -1970,10 +1970,12 @@ THREAD_ENTRY_DECLARE Service::run(THREAD_ENTRY_PARAM arg)
|
|||||||
RefPtr<SvcMutex> ref(svc->svc_existence);
|
RefPtr<SvcMutex> ref(svc->svc_existence);
|
||||||
exit_code = svc->svc_service_run->serv_thd(svc);
|
exit_code = svc->svc_service_run->serv_thd(svc);
|
||||||
|
|
||||||
threadCollect->add(svc->svc_thread);
|
const Thread::Handle& thrHandle(svc->svc_thread);
|
||||||
svc->started();
|
svc->started();
|
||||||
svc->svc_sem_full.release();
|
svc->svc_sem_full.release();
|
||||||
svc->finish(SVC_finished);
|
svc->finish(SVC_finished);
|
||||||
|
|
||||||
|
threadCollect->add(thrHandle);
|
||||||
}
|
}
|
||||||
catch (const Exception& ex)
|
catch (const Exception& ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user