uti: Fix dead-lock of calling terminate() from terminate()

Conflicts:
	arch/x86_64/kernel/syscall.c
	kernel/syscall.c
This commit is contained in:
Masamichi Takagi
2018-03-09 17:38:55 +09:00
parent 3e4c9bdd90
commit 3b277b2354
+3 -1
View File
@@ -1364,7 +1364,9 @@ done:
}
if (tthread->thread_offloaded) {
interrupt_syscall(tthread, sig);
if (!tthread->proc->nohost) {
interrupt_syscall(tthread, sig);
}
release_thread(tthread);
return 0;
}