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-02-28 20:50:44 +09:00
parent 3e4c9bdd90
commit 3b277b2354

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;
}