Kill child threads when receiving terminating signals(redmine#63)

Create process table (child is missing when sending a signal to a child process just after forking it)(redmine#61)
This commit is contained in:
Tomoki Shirasawa
2014-07-13 12:51:28 +09:00
parent 292b34fe21
commit 5e6ed852cb
3 changed files with 51 additions and 20 deletions

View File

@ -211,8 +211,11 @@ static void post_init(void)
}
if (find_command_line("hidos")) {
extern ihk_spinlock_t syscall_lock;
init_host_syscall_channel();
init_host_syscall_channel2();
ihk_mc_spinlock_init(&syscall_lock);
}
ap_start();
}