summaryrefslogtreecommitdiff
path: root/libthreads
AgeCommit message (Collapse)Author
2000-03-03.Roland McGrath
2000-03-032000-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* i386/csw.S: #undef __ELF__ before defining it, since it is usually predefined.
2000-01-10*** empty log message ***Mark Kettenis
2000-01-102000-01-10 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* cprocs.c: Include <assert.h>
2000-01-09.Roland McGrath
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.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally redefining. Use GCC extension for statement expression with value 0.
1999-05-30.Roland McGrath
1999-05-301999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cthreads.h (mutex_clear): Change again, to call mutex_init.
1999-05-29.Roland McGrath
1999-05-291999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cthreads.h (mutex_clear): Change from syntax error to no-op (with warning avoidance).
1998-11-22.Roland McGrath
1998-11-221998-11-12 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath
* 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.
1998-08-11typoRoland McGrath
1998-07-20.Roland McGrath
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.
1998-06-10Tue Jun 9 13:50:09 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* 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.
1997-08-20Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-08-20Fri Aug 8 13:21:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (SRCS): Delete malloc.c; libc now has a thread safe malloc. (malloc.c): Delete file.
1997-06-10Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cthreads.c (cthread_fork): Delete debugging oddity that crept into source.
1997-04-04Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* i386/csw.S: Define __ELF__ too.
1997-04-04*** empty log message ***Thomas Bushnell
1997-02-20.Miles Bader
1997-02-20(__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset,Miles Bader
__hurd_threadvar_max): Make extern.
1997-02-18(cproc_setup):Miles Bader
Correctly leave space at top of stack for account for GNU per-thread variables.
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.
1996-10-24Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* i386/csw.S (CALL_MCOUNT): New macro. (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT.
1996-10-24Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-09-05*** empty log message ***Thomas Bushnell
1996-08-29*** empty log message ***Thomas Bushnell
1996-07-29*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-17Initial revisionRoland McGrath
1996-06-06(more_memory): Use assert_perror instead of MACH_CALL.Miles Bader
"cthread_internals.h": Include removed.
1996-05-09(installhdrsubdir): whoops.Michael I. Bushnell
1996-05-09(installhdrs, installhdrdir): Install headers using the genericMichael I. Bushnell
technique, now that installhdrdir is available.
1996-05-09If _RWLOCK_DEFINE_FUNCTIONS is defined, then clear _EXTERN_INLINE, butMichael I. Bushnell
*after* header files have been included.
1996-05-09(_RWLOCK_DEFINE_FUNCTIONS): New macro; use in place of clearingMichael I. Bushnell
_EXTERN_INLINE, which conflicts with machine-sp.h.
1996-05-04[lint] (NEVER): Spurious global variable removed.Roland McGrath
[!lint] (NEVER): Useless macro removed.
1996-05-04(SRCS): Add rwlock.c.Roland McGrath
(LCLHDRS): Add rwlock.h. (install): Depend on $(includedir)/rwlock.h. ($(includedir)/%.h: %.h): New rule. ($(includedir)/cthreads.h): Target removed, obviated by that rule.
1996-05-04Moved to libthreads from libshouldbeinlibc.Roland McGrath
(_EXTERN_INLINE): New macro. Use it for all the inline defns.
1996-05-04Initial revisionRoland McGrath
1996-04-11(CFLAGS): Turn off -Wall.Michael I. Bushnell
1996-04-11(VPATH): Fix up for new configure reality.Michael I. Bushnell
1996-03-07(realloc):Miles Bader
Use LOG2_MIN_SIZE. Don't bother allocating a new block if the new size request fits in the old one and doesn't waste any space. Only free the old block if we successfully got a new one. (LOG2_MIN_SIZE): New macro.
1996-03-06[MCHECK] (struct header): New type.Miles Bader
(union header): Only define if !MCHECK. (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros. [MCHECK] (MIN_SIZE): Add correct definition for this case. (more_memory, malloc, free, realloc): Use above macros, and add appropiate checks & frobs in MCHECK case.
1996-02-01Add assert to check for signal bug.Roland McGrath
1996-01-24Use prototypes for functions of zero args.Roland McGrath
1995-12-10(addr_range_check, probe_stack): Functions #if 0'd out.Roland McGrath
(stack_init): Don't call probe_stack or frob old stack at all. Default cthread_stack_size to 16 pages if it is zero.