diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-07-31 02:20:44 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-07-31 02:20:44 +0000 |
commit | c612109d24d1f503ca37b77300820184aef775ca (patch) | |
tree | 8ae629ce5dca500b552c2a89a57da65ce0677229 /libthreads/cthreads.c | |
parent | 6813e3494f4a48950ccc637ff4ff758aaf7d5ad8 (diff) |
2002-07-29 Marcus Brinkmann <marcus@gnu.org>
* cthreads.c (cthread_init): Move cthread_alloc call before
cproc_init call (lost in merge).
Diffstat (limited to 'libthreads/cthreads.c')
-rw-r--r-- | libthreads/cthreads.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libthreads/cthreads.c b/libthreads/cthreads.c index fce1b593..a68b7ee6 100644 --- a/libthreads/cthreads.c +++ b/libthreads/cthreads.c @@ -30,6 +30,12 @@ * catch is reserved word in c++. * * $Log: cthreads.c,v $ + * Revision 1.13 2002/05/28 23:55:55 roland + * 2002-05-28 Roland McGrath <roland@frob.com> + * + * * cthreads.c (cthread_fork_prepare, cthread_fork_parent, + * cthread_fork_child): Don't call malloc_fork_* (lost in merge). + * * Revision 1.12 2002/05/27 02:50:10 roland * 2002-05-26 Roland McGrath <roland@frob.com> * @@ -211,9 +217,9 @@ cthread_init(void) if (cthreads_started) return 0; + t = cthread_alloc((cthread_fn_t) 0, (any_t) 0); stack = cproc_init(); cthread_cprocs = 1; - t = cthread_alloc((cthread_fn_t) 0, (void *) 0); #ifdef cthread_md_init cthread_md_init(); |