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