Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
|
|
* cthreads.h (mutex_clear): Change from syntax error to no-op (with
warning avoidance).
|
|
|
|
* cthreads.c (cthread_init): Move cthread_alloc call before
cproc_init call, since cthread_alloc uses malloc, and malloc won't
work between initializing the new stack and switching over to it.
|
|
|
|
|
|
* 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.
|
|
* cthreads.c (cthread_fork_prepare): Don't call
malloc_fork_prepare since we are no longer providing our own
malloc in this library.
(cthread_fork_parent): Likewise, for malloc_fork_parent.
(cthread_fork_child): Likewize, for malloc_fork_child.
|
|
* cthreads.c (cthread_body): Wire self before calling user work
function. This way all cthreads will be wired, which the ports
library (and hurd_thread_cancel, etc.) depend on.
|
|
* Makefile (SRCS): Delete malloc.c; libc now has a thread safe
malloc.
(malloc.c): Delete file.
|
|
* cthreads.c (cthread_fork): Delete debugging oddity that crept
into source.
|
|
* i386/csw.S: Define __ELF__ too.
|
|
|
|
|
|
__hurd_threadvar_max):
Make extern.
|
|
Correctly leave space at top of stack for account for GNU per-thread
variables.
|
|
* cprocs.c (cproc_create): Cast CHILD in assignment.
|
|
* i386/csw.S (CALL_MCOUNT): New macro.
(cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT.
|
|
* i386/csw.S (CALL_MCOUNT): New macro.
(cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT.
* rwlock.h: Change extern inline protection to use new canonical
method.
* rwlock.c: Rewritten.
|
|
|
|
|