From 5c13dbe98d9f63f7c05edcd3fa1d4c2fba5b6391 Mon Sep 17 00:00:00 2001 From: dimitr Date: Thu, 5 Jun 2003 17:15:00 +0000 Subject: [PATCH] Explicitly assign normal priority to the service tasks. Avoid lockups between GC thread, cache writer and the service manager. --- src/jrd/svc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/svc.cpp b/src/jrd/svc.cpp index 426fe690c4..b38f8757d2 100644 --- a/src/jrd/svc.cpp +++ b/src/jrd/svc.cpp @@ -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