Inherit signal entry on clone()

This commit is contained in:
Mark
2020-07-10 13:57:24 +03:00
parent fcbb039bc3
commit 75be29e98e
+2
View File
@@ -263,6 +263,8 @@ int sys_clone(int (*fn) (void *), void *stack, int flags, void *arg) {
return res;
}
thr->signal_entry = thread_self->signal_entry;
if (thread_self->next_thread) {
thr->next_thread = thread_self->next_thread;
}