Age | Commit message (Collapse) | Author |
|
* cprocs.c (cproc_block): Can't be static, called from cancel-cond.c.
|
|
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.
|
|
* cthread_internals.h: int -> void * for `busy' member.
* cprocs.c (cthread_mach_msg): Don't cast to int when setting it.
* cprocs.c (cthread_mag_active): Likewise.
|
|
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
|
|
* 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.
|
|
* cprocs.c: Include <assert.h>
|
|
* cprocs.c (cproc_alloc): Initialize P->wired and P->msg here (code
from cthread_wire).
(cthread_wire): Reduce to just an assert, cthreads always wired.
(chtread_unwire): Abort if called.
|
|
* i386/csw.S (cproc_prepare): Take address of cthread_body as third
arg, so we don't have to deal with PIC magic to find its address
without producing a text reloc.
* cprocs.c (cproc_create): Pass &cthread_body to cproc_prepare.
|
|
* cprocs.c (cproc_create): Cast CHILD in assignment.
|
|
IMPP on loop step instruction.
|
|
|
|
|
|
needs to be signalled when we have no waiters.
(cond_broadcast): Signal the implications list too.
(condition_implies, condition_unimplies): New functions.
|
|
(_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables
removed.
|
|
|
|
|
|
|