Age | Commit message (Collapse) | Author |
|
* cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to
initialize the thread to the global locale.
|
|
|
|
* cthreads.c (cthread_init): Move cthread_alloc call before
cproc_init call (lost in merge).
|
|
* cthreads.c (cthread_fork_prepare, cthread_fork_parent,
cthread_fork_child): Don't call malloc_fork_* (lost in merge).
|
|
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.
|
|
* cthreads.c (cthread_exit): Cast any_t to long before int.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* cthreads.c (cthread_fork): Delete debugging oddity that crept
into source.
|
|
|
|
|
|
|