/[guile]/guile/guile-core/libguile/threads.c
ViewVC logotype

Diff of /guile/guile-core/libguile/threads.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by mdj, Wed Dec 18 13:42:58 2002 UTC revision 1.47 by mdj, Thu Dec 19 08:08:39 2002 UTC
# Line 397  create_thread (scm_t_catch_body body, vo Line 397  create_thread (scm_t_catch_body body, vo
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

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26