Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
|
|
|