summaryrefslogtreecommitdiff
path: root/libthreads/cprocs.c
AgeCommit message (Collapse)Author
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
* 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.
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
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.
2000-01-102000-01-10 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* cprocs.c: Include <assert.h>
2000-01-092000-01-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1996-11-18Mon Nov 18 16:36:56 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cprocs.c (cproc_create): Cast CHILD in assignment.
1995-12-06(condition_unimplies): Take address of (*impp)->next in assignment toMichael I. Bushnell
IMPP on loop step instruction.
1995-09-22Include hurd/threadvar.h.Roland McGrath
1995-08-30Repair typos.Michael I. Bushnell
1995-08-30(cond_signal): If this condition has implications, see if one of themMichael I. Bushnell
needs to be signalled when we have no waiters. (cond_broadcast): Signal the implications list too. (condition_implies, condition_unimplies): New functions.
1995-04-04(mutex_lock_solid, mutex_unlock_solid): Renamed to __*.Roland McGrath
(_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables removed.
1994-05-19entered into RCSRoland McGrath
1994-05-05Formerly cprocs.c.~2~Roland McGrath
1992-10-06Initial revisionMichael I. Bushnell