aboutsummaryrefslogtreecommitdiff
path: root/libthreads
Commit message (Collapse)AuthorAgeFilesLines
...
* .Roland McGrath1999-06-131-0/+5
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-4/+9
| | | | | * cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally redefining. Use GCC extension for statement expression with value 0.
* .Roland McGrath1999-05-301-0/+2
|
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-301-1/+7
| | | | * cthreads.h (mutex_clear): Change again, to call mutex_init.
* .Roland McGrath1999-05-291-0/+5
|
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-291-1/+5
| | | | | * cthreads.h (mutex_clear): Change from syntax error to no-op (with warning avoidance).
* .Roland McGrath1998-11-221-0/+6
|
* 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-221-1/+10
| | | | | | * 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.
* typoRoland McGrath1998-08-111-1/+1
|
* .Roland McGrath1998-07-201-4/+11
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-202-52/+62
| | | | | | | * 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.
* Tue Jun 9 13:50:09 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-06-102-3/+15
| | | | | | | | * 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.
* Wed Aug 20 15:39:44 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-202-0/+13
| | | | | | * 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.
* Fri Aug 8 13:21:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-203-440/+8
| | | | | | * Makefile (SRCS): Delete malloc.c; libc now has a thread safe malloc. (malloc.c): Delete file.
* Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-102-5/+8
| | | | | * cthreads.c (cthread_fork): Delete debugging oddity that crept into source.
* Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-04-041-0/+7
| | | | * i386/csw.S: Define __ELF__ too.
* *** empty log message ***Thomas Bushnell1997-04-042-1/+13
|
* .Miles Bader1997-02-201-0/+10
|
* (__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset,Miles Bader1997-02-201-3/+8
| | | | | __hurd_threadvar_max): Make extern.
* (cproc_setup):Miles Bader1997-02-181-3/+12
| | | | | Correctly leave space at top of stack for account for GNU per-thread variables.
* Mon Nov 18 16:36:56 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-182-1/+9
| | | | * cprocs.c (cproc_create): Cast CHILD in assignment.
* Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-241-0/+14
| | | | | * i386/csw.S (CALL_MCOUNT): New macro. (cproc_swtich, cproc_start_wait, cproc_prepare): Use CALL_MCOUNT.
* Mon Oct 21 22:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-243-18/+18
| | | | | | | | | * 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.
* *** empty log message ***Thomas Bushnell1996-09-052-3/+7
|
* *** empty log message ***Thomas Bushnell1996-08-292-1/+11
|
* *** empty log message ***Thomas Bushnell1996-07-292-1/+6
|
* *** empty log message ***Michael I. Bushnell1996-07-181-172/+0
|
* Initial revisionRoland McGrath1996-07-171-0/+264
|
* (more_memory): Use assert_perror instead of MACH_CALL.Miles Bader1996-06-061-6/+13
| | | | "cthread_internals.h": Include removed.
* (installhdrsubdir): whoops.Michael I. Bushnell1996-05-091-1/+1
|
* (installhdrs, installhdrdir): Install headers using the genericMichael I. Bushnell1996-05-091-7/+2
| | | | technique, now that installhdrdir is available.
* If _RWLOCK_DEFINE_FUNCTIONS is defined, then clear _EXTERN_INLINE, butMichael I. Bushnell1996-05-091-0/+5
| | | | *after* header files have been included.
* (_RWLOCK_DEFINE_FUNCTIONS): New macro; use in place of clearingMichael I. Bushnell1996-05-091-1/+1
| | | | _EXTERN_INLINE, which conflicts with machine-sp.h.
* [lint] (NEVER): Spurious global variable removed.Roland McGrath1996-05-041-7/+4
| | | | [!lint] (NEVER): Useless macro removed.
* (SRCS): Add rwlock.c.Roland McGrath1996-05-041-8/+8
| | | | | | | (LCLHDRS): Add rwlock.h. (install): Depend on $(includedir)/rwlock.h. ($(includedir)/%.h: %.h): New rule. ($(includedir)/cthreads.h): Target removed, obviated by that rule.
* Moved to libthreads from libshouldbeinlibc.Roland McGrath1996-05-041-9/+13
| | | | | (_EXTERN_INLINE): New macro. Use it for all the inline defns.
* Initial revisionRoland McGrath1996-05-041-0/+6
|
* (CFLAGS): Turn off -Wall.Michael I. Bushnell1996-04-111-0/+4
|
* (VPATH): Fix up for new configure reality.Michael I. Bushnell1996-04-111-2/+2
|
* (realloc):Miles Bader1996-03-071-9/+32
| | | | | | | | 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.
* [MCHECK] (struct header): New type.Miles Bader1996-03-061-13/+67
| | | | | | | | (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.
* Add assert to check for signal bug.Roland McGrath1996-02-011-1/+4
|
* Use prototypes for functions of zero args.Roland McGrath1996-01-241-30/+34
|
* (addr_range_check, probe_stack): Functions #if 0'd out.Roland McGrath1995-12-101-25/+40
| | | | | (stack_init): Don't call probe_stack or frob old stack at all. Default cthread_stack_size to 16 pages if it is zero.
* (condition_unimplies): Take address of (*impp)->next in assignment toMichael I. Bushnell1995-12-061-1/+4
| | | | IMPP on loop step instruction.
* Protect against multiple inclusion.Roland McGrath1995-10-071-0/+9
| | | | Include cthreads.h and assert.h.
* (JUMPTARGET): New macro, versions for [PIC] and not.Roland McGrath1995-10-041-4/+8
| | | | Use it in place of EXT.
* (csw_pic.o): Bogus braindead target from hell removed. Bushnell will beRoland McGrath1995-10-041-5/+0
| | | | shot.
* [PIC] (EXT): Redefine to use PLT.Roland McGrath1995-10-041-0/+8
|
* (RWLOCK_INITIALIZER): New macro.Roland McGrath1995-09-231-0/+3
|