aboutsummaryrefslogtreecommitdiff
path: root/src/tcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcb.c')
-rw-r--r--src/tcb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tcb.c b/src/tcb.c
index 93ce502..64d95a5 100644
--- a/src/tcb.c
+++ b/src/tcb.c
@@ -149,6 +149,7 @@ struct tcb *create_thread(struct tcb *p)
* structure, this works on riscv but in the event that other
* systems don't we can easily turn this into a clone_uvmem. */
t->proc.vmem = p->proc.vmem;
+ t->callback = p->callback;
}
else {
if (!(t->proc.vmem = create_vmem())) {