summaryrefslogtreecommitdiff
path: root/libthreads
AgeCommit message (Collapse)Author
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.
1995-12-06(condition_unimplies): Take address of (*impp)->next in assignment toMichael I. Bushnell
IMPP on loop step instruction.
1995-10-07Protect against multiple inclusion.Roland McGrath
Include cthreads.h and assert.h.
1995-10-04(JUMPTARGET): New macro, versions for [PIC] and not.Roland McGrath
Use it in place of EXT.
1995-10-04(csw_pic.o): Bogus braindead target from hell removed. Bushnell will beRoland McGrath
shot.
1995-10-04[PIC] (EXT): Redefine to use PLT.Roland McGrath
1995-09-23(RWLOCK_INITIALIZER): New macro.Roland McGrath
1995-09-22Include hurd/threadvar.h.Roland McGrath
1995-09-16(CPPFLAGS): Variable removed.Roland McGrath
(lndist-i386-files): Use $(top_srcdir) in place of $(srcdir).
1995-09-13(CONDITION_INITIALIZER): Provide initial zero for IMPLICATIONS member.Michael I. Bushnell
(condition_init): Bother initializing NAME and IMPLICATIONS members.
1995-08-30Repair typos.Michael I. Bushnell
1995-08-30(condition_implies, condition_unimplies): New functions.Michael I. Bushnell
(struct condition): New member `implications'. (cond_imp): New structure. (cond_signal): Return int now. (condition_broadcast): Always call cond_broadcast if this condition has implications. (condition_signal): Always call cond_signal if this condition has implications.
1995-08-30(cond_signal): If this condition has implications, see if one of themMichael I. Bushnell
needs to be signalled when we have no waiters. (cond_broadcast): Signal the implications list too. (condition_implies, condition_unimplies): New functions.
1995-08-30(hurd_condition_wait): Provide declaration.Michael I. Bushnell
1995-08-29(cproc_block): Provide decl.Michael I. Bushnell