Fixed termination when using -L 30 (see bug 107777).

This is a temporary solution, creating SYSTEM rather than USER loggerThread.
Later we should create a USER thread, Interrupt, and tell the thread to exit.
This commit is contained in:
kirk.erickson%sun.com 2002-01-11 01:03:28 +00:00
parent c1f87e36d3
commit 673acbe7a2

View File

@ -1636,7 +1636,7 @@ main(int argc, char **argv)
rv = launch_threads(&jobLoop, 0, 0, requestCert, useLocalThreads);
if (rv == SECSuccess && logStats) {
loggerThread = PR_CreateThread(PR_USER_THREAD,
loggerThread = PR_CreateThread(PR_SYSTEM_THREAD,
logger, NULL, PR_PRIORITY_NORMAL,
useLocalThreads ? PR_LOCAL_THREAD:PR_GLOBAL_THREAD,
PR_UNJOINABLE_THREAD, 0);