X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fsysdep.c;fp=citadel%2Fsysdep.c;h=6f14ac4b17d948d02e2f85d46be187346fafb90a;hp=d7872aebe7e0494ed765e2aaaa40d6da0bc034dd;hb=1493fd8ff0de73d30336607b43b1c8113ffcffa2;hpb=931ed7a4e3bdf272f135b1cee2665cdea43ce7c2 diff --git a/citadel/sysdep.c b/citadel/sysdep.c index d7872aebe..6f14ac4b1 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -1189,7 +1189,7 @@ void HuntBadSession(void) } - +const char *WorkerLogStr = "W"; /* * This loop just keeps going and going and going... */ @@ -1210,6 +1210,8 @@ void *worker_thread(void *blah) { ++num_workers; pthread_mutex_unlock(&ThreadCountMutex); + pthread_setspecific(evConKey, WorkerLogStr); + while (!server_shutting_down) { /* make doubly sure we're not holding any stale db handles