Age | Commit message (Collapse) | Author |
|
* libthreads/cthreads.h (mutex_try_lock): Call WAIT_SET_DEBUG when
spin_try_lock succeeds.
|
|
From the idea of Sergio Lopez.
* libthreads/cthreads.h [WAIT_FUNC_DEBUG] (mutex): Replace struct
cthread *holder field with const char *fname.
(WAIT_CLEAR_DEBUG, WAIT_SET_DEBUG): New macros which clear and set fname
or holder according to WAIT_FUNC_DEBUG and WAIT_DEBUG being defined.
(mutex_init, mutex_unlock): Call WAIT_CLEAR_DEBUG in all cases instead of
setting the `holder' field according to WAIT_DEBUG being defined
(mutex_lock): Call WAIT_SET_DEBUG in all cases instead of setting the `holder'
field according to WAIT_DEBUG being defined.
|
|
* libthreads/Makefile (lndist, lndist-map-file): New targets. Link
`libthreads.map' to the distribution directory.
|
|
* ChangeLog: Wipe out content, and add instructions about how to get it back.
* auth/ChangeLog: Remove file.
* benchmarks/ChangeLog: Likewise.
* boot/ChangeLog: Likewise.
* bsdfsck/ChangeLog: Likewise.
* config/ChangeLog: Likewise.
* console-client/ChangeLog: Likewise.
* console/ChangeLog: Likewise.
* daemons/ChangeLog: Likewise.
* defpager/ChangeLog: Likewise.
* doc/ChangeLog: Likewise.
* exec/ChangeLog: Likewise.
* ext2fs/ChangeLog: Likewise.
* fatfs/ChangeLog: Likewise.
* fstests/ChangeLog: Likewise.
* ftpfs/ChangeLog: Likewise.
* hostmux/ChangeLog: Likewise.
* hurd/ChangeLog: Likewise.
* include/ChangeLog: Likewise.
* init/ChangeLog: Likewise.
* isofs/ChangeLog: Likewise.
* libcons/ChangeLog: Likewise.
* libdirmgt/ChangeLog: Likewise.
* libdiskfs/ChangeLog: Likewise.
* libfshelp/ChangeLog: Likewise.
* libftpconn/ChangeLog: Likewise.
* libhurdbugaddr/ChangeLog: Likewise.
* libihash/ChangeLog: Likewise.
* libiohelp/ChangeLog: Likewise.
* libnetfs/ChangeLog: Likewise.
* libpager/ChangeLog: Likewise.
* libpipe/ChangeLog: Likewise.
* libports/ChangeLog: Likewise.
* libps/ChangeLog: Likewise.
* libshouldbeinlibc/ChangeLog: Likewise.
* libstore/ChangeLog: Likewise.
* libthreads/ChangeLog: Likewise.
* libtrivfs/ChangeLog: Likewise.
* login/ChangeLog: Likewise.
* mach-defpager/ChangeLog: Likewise.
* nfs/ChangeLog: Likewise.
* nfsd/ChangeLog: Likewise.
* pfinet/ChangeLog: Likewise.
* pflocal/ChangeLog: Likewise.
* proc/ChangeLog: Likewise.
* release/ChangeLog: Likewise.
* serverboot/ChangeLog: Likewise.
* storeio/ChangeLog: Likewise.
* sutils/ChangeLog: Likewise.
* term/ChangeLog: Likewise.
* tmpfs/ChangeLog: Likewise.
* trans/ChangeLog: Likewise.
* ufs-fsck/ChangeLog: Likewise.
* ufs-utils/ChangeLog: Likewise.
* ufs/ChangeLog: Likewise.
* usermux/ChangeLog: Likewise.
* utils/ChangeLog: Likewise.
|
|
[libpthread]
* sysdeps/i386/bits/memory.h (__memory_barrier): Add memory clobber.
* sysdeps/i386/bits/spin-lock.h (__pthread_spin_trylock,
__pthread_spin_unlock): Add memory clobbers.
[libthreads]
* i386/cthreads.h (spin_unlock, spin_try_lock): Add memory clobbers.
|
|
|
|
* cthread_internals.h (cproc_block): Add prototype.
|
|
* libpthread/sysdeps/i386/machine-sp.h (thread_stack_pointer):
Optimize esp read.
* libpthread/i386/cthreads.h (cthread_sp): Likewise.
|
|
|
|
* cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to
initialize the thread to the global locale.
|
|
|
|
* cthreads.c (cthread_init): Move cthread_alloc call before
cproc_init call (lost in merge).
|
|
* stack.c (stack_init): Put back in setting of the
__hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset
variables (which got lost in the merge).
|
|
|
|
* 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.
|