From c612109d24d1f503ca37b77300820184aef775ca Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 31 Jul 2002 02:20:44 +0000 Subject: 2002-07-29 Marcus Brinkmann * cthreads.c (cthread_init): Move cthread_alloc call before cproc_init call (lost in merge). --- libthreads/ChangeLog | 3 +++ libthreads/cthreads.c | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'libthreads') diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog index 47274794..8e8e2ddd 100644 --- a/libthreads/ChangeLog +++ b/libthreads/ChangeLog @@ -4,6 +4,9 @@ __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset variables (which got lost in the merge). + * cthreads.c (cthread_init): Move cthread_alloc call before + cproc_init call (lost in merge). + 2002-05-28 Roland McGrath * cthreads.h: Do not define WAIT_DEBUG to affect inlines. 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 + * + * * 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 * @@ -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(); -- cgit v1.2.3