зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c1f87e36d3
Коммит
673acbe7a2
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче