Age | Commit message (Collapse) | Author |
|
|
|
* cthreads.h: Do not define WAIT_DEBUG to affect inlines.
* options.h: Not here either.
|
|
|
|
* cprocs.c (cproc_block): Can't be static, called from cancel-cond.c.
|
|
|
|
* cthreads.h (hurd_condition_wait, condition_implies,
condition_unimplies): Restore decls lost in merge.
(mutex_clear): Define as mutex_init instead of bogon (lost in merge).
|
|
* cthreads.c (cthread_fork_prepare, cthread_fork_parent,
cthread_fork_child): Don't call malloc_fork_* (lost in merge).
|
|
|
|
* lockfile.c: Use __attribute__ magic instead of #pragma magic
for alias definitions. Don't bother to make them weak.
|
|
|
|
Changes merged from CMU MK83a version:
* cthreads.h, options.h: Various cleanups.
* call.c, cthread_data.c, sync.c, mig_support.c, stack.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.
|
|
* alpha/thread.c: #if 0 out the silly bzero decl.
|
|
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.
|
|
* alpha/cthreads.h, alpha/thread.c, alpha/csw.S, alpha/lock.S:
New files, verbatim from CMU release MK83a user/threads/alpha.
|
|
|
|
* cthreads.c (cthread_exit): Cast any_t to long 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.
|
|
|
|
* cthreads.h (cthread_sp): Cast to vm_address_t instead of int.
(mutex_unlock): Cast to void * instead of int.
|
|
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
|
|
|
|
* libthreads.map: Use GLIBC_2.2.6 set instead of GLIBC_2.2.
|
|
|
|
* i386/thread.c (cthread_sp): Use __thread_stack_pointer.
|
|
|
|
* lockfile.c: Rewritten to use macros now defined by libc.
|
|
|
|
* 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.
* i386/thread.c: Likewise.
* cthread_data.c: Likewise.
|
|
|
|
* 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.
* i386/thread.c: Likewise.
|
|
|
|
* 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.
|
|
|
|
* i386/thread.c: Remove superfluous bzero decl,
just include <strings.h> instead.
|
|
change, and my change to the toplevel configure.in that disables
versioning for the old stdio-using libc.
|
|
|
|
* libthreads.map: Define HURD_CTHREADS_0.3 version set,
putting all symbols there except the lockfile symbols.
* lockfile.c: Nit fixes.
|
|
|
|
Locking support for stdio streams with glibc-2.2 libio. EXPERIMENTAL!
* lockfile.c: New file.
* libthreads.map: New file.
* Makefile (SRCS): Add lockfile.c.
[$(VERSIONING) = yes] ($(libname).so.$(hurd-version)): Depend
on $(srcdir)/$(libname).map to get version script into the link.
|
|
|
|
* i386/csw.S: #undef __ELF__ before defining it, since
it is usually predefined.
|
|
|
|
* 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.
|
|
|
|
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally
redefining. Use GCC extension for statement expression with value 0.
|
|
|
|
* cthreads.h (mutex_clear): Change again, to call mutex_init.
|
|
|