397 |
/* must initialize root state pointer before the thread is linked |
/* must initialize root state pointer before the thread is linked |
398 |
into all_threads */ |
into all_threads */ |
399 |
t->root = SCM_ROOT_STATE (root); |
t->root = SCM_ROOT_STATE (root); |
400 |
|
/* disconnect from parent, to prevent remembering dead threads */ |
401 |
|
t->root->parent = SCM_BOOL_F; |
402 |
|
|
403 |
/* In order to avoid the need of synchronization between parent |
/* In order to avoid the need of synchronization between parent |
404 |
and child thread, we need to insert the child into all_threads |
and child thread, we need to insert the child into all_threads |