mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Explicitly assign normal priority to the service tasks.
Avoid lockups between GC thread, cache writer and the service manager.
This commit is contained in:
parent
3a7e0eadc8
commit
5c13dbe98d
@ -2177,7 +2177,7 @@ void *SVC_start(SVC service, USHORT spb_length, SCHAR * spb)
|
||||
count = ISC_event_clear(evnt_ptr);
|
||||
|
||||
gds__thread_start(reinterpret_cast < FPTR_INT_VOID_PTR >
|
||||
(serv->serv_thd), service, 0, 0,
|
||||
(serv->serv_thd), service, THREAD_medium, 0,
|
||||
(void *) &service->svc_handle);
|
||||
|
||||
/* check for the service being detached. This will prevent the thread
|
||||
|
Loading…
Reference in New Issue
Block a user