summaryrefslogtreecommitdiff
path: root/libthreads/cthreads.c
AgeCommit message (Collapse)Author
2002-08-302002-08-26 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to initialize the thread to the global locale.
2002-07-31Add comment to last change, for the benefit of the next merge :)Marcus Brinkmann
2002-07-312002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* cthreads.c (cthread_init): Move cthread_alloc call before cproc_init call (lost in merge).
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.c (cthread_fork_prepare, cthread_fork_parent, cthread_fork_child): Don't call malloc_fork_* (lost in merge).
2002-05-272002-05-26 Roland McGrath <roland@frob.com>Roland McGrath
Changes merged from CMU MK83a version: * cthreads.h, options.h: Various cleanups. * call.c, cthread_data.c, sync.c, mig_support.c: Likewise. * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. * cthread_internals.h: Add decls for internal functions. (struct cproc): Use vm_offset_t for stack_base and stack_size members. Use natural_t for context member. * cprocs.c: Use prototypes for all defns. * cthreads.c: Likewise. (cthread_exit): Cast any_t to integer_t before int.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.c (cthread_exit): Cast any_t to long before int.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.h: Fix obsolescent #endif syntax. * cthread_internals.h: Likewise. * cancel-cond.c: Likewise. * stack.c: Likewise. * cthreads.c: Likewise. * cprocs.c: Likewise. * call.c: Likewise.
1998-11-221998-11-12 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath
* cthreads.c (cthread_init): Move cthread_alloc call before cproc_init call, since cthread_alloc uses malloc, and malloc won't work between initializing the new stack and switching over to it.
1998-06-10Tue Jun 9 13:50:09 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* cthreads.c (cthread_fork_prepare): Don't call malloc_fork_prepare since we are no longer providing our own malloc in this library. (cthread_fork_parent): Likewise, for malloc_fork_parent. (cthread_fork_child): Likewize, for malloc_fork_child.
1997-08-20Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cthreads.c (cthread_body): Wire self before calling user work function. This way all cthreads will be wired, which the ports library (and hurd_thread_cancel, etc.) depend on.
1997-06-10Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cthreads.c (cthread_fork): Delete debugging oddity that crept into source.
1997-04-04*** empty log message ***Thomas Bushnell
1994-05-05entered into RCSRoland McGrath
1992-10-06Initial revisionMichael I. Bushnell