diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-17 22:55:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-17 22:55:08 +0000 |
commit | 5b9e5e24f883db76aa783678b77698c47caecc30 (patch) | |
tree | 199fc2010d664be83723e838f8217dbb4c3eab82 /libthreads | |
parent | b3657b27182f2c707cb940795cb982e4bb0f5660 (diff) |
Initial revision
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/ChangeLog | 264 |
1 files changed, 264 insertions, 0 deletions
diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog new file mode 100644 index 00000000..3d0d177d --- /dev/null +++ b/libthreads/ChangeLog @@ -0,0 +1,264 @@ +Thu Jun 6 07:29:31 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * malloc.c (more_memory): Use assert_perror instead of MACH_CALL. + "cthread_internals.h": Include removed. + +Thu May 9 11:13:42 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> + + * Makefile (installhdrs, installhdrsubdir): Install headers using + the generic technique, now that installhdrsubdir is available. + + * rwlock.h: If _RWLOCK_DEFINE_FUNCTIONS is defined, then clear + _EXTERN_INLINE, but *after* header files have been included. + * rwlock.c (_RWLOCK_DEFINE_FUNCTIONS): New macro; use in place of + clearing _EXTERN_INLINE, which conflicts with machine-sp.h. + +Sat May 4 05:33:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * cthreads.h [lint] (NEVER): Spurious global variable removed. + [!lint] (NEVER): Useless macro removed. + + * Makefile (SRCS): Add rwlock.c. + (LCLHDRS): Add rwlock.h. + (install): Depend on $(includedir)/rwlock.h. + ($(includedir)/%.h: %.h): New rule. + ($(includedir)/cthreads.h): Target removed, obviated by that rule. + * rwlock.h: Moved to libthreads from libshouldbeinlibc. + (_EXTERN_INLINE): New macro. + Use it for all the inline defns. + * rwlock.c: New file. + +Thu Apr 11 17:55:24 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> + + * Makefile (CFLAGS): Turn off -Wall. + + * Makefile (VPATH): Fix up for new configure reality. + +Thu Mar 7 15:52:38 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * malloc.c (realloc): Use LOG2_MIN_SIZE. + (LOG2_MIN_SIZE): New macro. + + * malloc.c (realloc): 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. + +Wed Mar 6 18:05:57 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * malloc.c [MCHECK] (struct header): New type. + (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. + +Wed Jan 31 20:05:57 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * cancel-cond.c: Add assert to check for signal bug. + +Wed Jan 24 13:38:11 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * cthreads.h: Use prototypes for functions of zero args. + +Sun Dec 10 08:41:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * stack.c (addr_range_check, probe_stack): Functions #if 0'd out. + (stack_init): Don't call probe_stack or frob old stack at all. + Default cthread_stack_size to 16 pages if it is zero. + +Wed Dec 6 14:48:37 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> + + * cprocs.c (condition_unimplies): Take address of (*impp)->next in + assignment to IMPP on loop step instruction. + +Wed Oct 4 16:22:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * i386/csw.S (JUMPTARGET): New macro, versions for [PIC] and not. + Use it in place of EXT. + * Makefile (csw_pic.o): Bogus braindead target from hell removed. + Bushnell will be shot. + +Fri Sep 22 13:51:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * cprocs.c: Include hurd/threadvar.h. + +Sat Sep 16 13:42:02 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makefile (CPPFLAGS): Variable removed. + (lndist-i386-files): Use $(top_srcdir) in place of $(srcdir). + +Wed Sep 13 15:49:17 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> + + * cthreads.h (CONDITION_INITIALIZER): Provide initial zero for + IMPLICATIONS member. + (condition_init): Bother initializing NAME and IMPLICATIONS members. + +Wed Aug 30 11:10:27 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> + + * cthreads.h (condition_implies, condition_unimplies): New + functions. + (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. + * cprocs.c (cond_signal): If this condition has implications, + see if one of them needs to be signalled when we have no waiters. + (cond_broadcast): Signal the implications list too. + (condition_implies, condition_unimplies): New functions. + + * cthreads.h (hurd_condition_wait): Provide declaration. + +Tue Aug 29 10:48:59 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu> + + * cthread_internals.h (cproc_block): Provide decl. + +Sat Aug 26 14:08:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> + + * cancel-cond.c (hurd_condition_wait_cancel): Name changed to + `hurd_condition_wait'. + +Tue Aug 22 19:26:38 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> + + * Makefile (SRCS): Add a backslash. + +Mon Aug 21 12:52:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makefile (SRCS): Add cancel-cond.c. + * cancel-cond.c: New file. + +Thu Jul 6 13:39:25 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> + + * Makefile (install): Don't *always* install cthreads.h; do it + only if it's new. + + * Makefile: Removed dependencies that are now automatically + generated. + + * Makefile (csw_pic.o): Provide slightly cheating rule. + +Fri May 12 14:25:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * i386/csw.S: Use EXT macro instead of explicit underscores. + * i386/asm.h: File removed; it is installed by libc. + * Makefile (I386HDRS): Variable removed. + ($(OBJS)): Don't depend on i386/asm.h. + + * Makefile (CPPFLAGS): Use $(srcdir) instead of $(hurdsource). + +Wed Apr 12 14:33:06 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> + + * Makefile (lndist, lndist-i386-files): Change $(hurdsource) to + $(srcdir). + ($(hurdsource)/hurd-snap/$(dir)/i386): Likewise. + +Tue Apr 4 17:04:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * Makefile (CPPFLAGS): Define. + ($(OBJS) rule): Fix typo in target. + (install-cthreads.h): Use $(INSTALL_DATA). + + * cthreads.h (mutex_lock, mutex_unlock): Use __ names for *_solid. + * cprocs.c (mutex_lock_solid, mutex_unlock_solid): Renamed to __*. + (_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables + removed. + +Fri Jul 22 10:47:51 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> + + * Makefile: Rewritten in accord with new scheme. + +Tue Jul 19 12:22:01 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * Makefile (generic-sources): Restored malloc.c. + (malloc-sources, malloc-objects): Deleted variables. + (DIST_FILES): Deleted $(malloc-sources) + (all): Deleted libmalloc.a. + (libmalloc.a): Delted target. + ($(hurdinst)/lib/libmalloc.a): Deleted target. + (install): Deleted $(hurdinst)/lib/libmalloc.a. + (clean): Deleted libmalloc.a. + +Tue Jul 5 14:17:28 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * Makefile (SRCS, TAGSHDRS): New variables. + (TAGS): Deleted local definition; now it's in Makeconf. + +Thu May 19 00:54:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * cprocs.c (_cthread_mutex_lock_routine, + _cthread_mutex_unlock_routine): New variables. + +Thu May 5 19:33:49 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * Makefile: (generic-sources): Removed malloc.c. + (malloc-sources, malloc-objects): new variables. + (DIST_FILES): added $(malloc-sources). + (libmalloc.a, $(hurdinst)/lib/libmalloc.a): New targets. + ($(hurdinst)/lib/malloc.o): Deleted target. + (all): added libmalloc.a. + (install): Changed $(hurdinst)/lib/malloc.o to + $(hurdinst)/lib/libmalloc.a + (clean): Added libmaloc.a. + +Thu May 5 04:30:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * cthreads.c (cthread_init): Pass STACK instead of P to mig_init. + + * cprocs.c (cproc_create): Pass normal offset value to + cproc_stack_base. Explicitly store CHILD ptr at base of its stack. + + * stack.c (stack_init): Set __hurd_threadvar_stack_mask to find + the lowest address of the stack segment. + [STACK_GROWTH_UP]: Set __hurd_threadvar_stack_offset to + sizeof(ur_cthread_t*). + [! STACK_GROWTH_UP]: Set __hurd_threadvar_stack_offset to the size + of the stack minus space for the cproc_self ptr and thread variables. + + * malloc.c (malloc, free, realloc): Change declarations to + standard types, so as not to conflict with the declarations in + <stdlib.h>. + + * cthread_internals.h: #if 0 out declaration of malloc. + (struct cproc): #if 0 out `reply_port' member; libc implements that. + * cprocs.c (cproc_alloc): #if 0 out initialization of P->reply_port. + + * Makefile (generic-sources): Omit sync.c. libc implements that. + + * cprocs.c (cproc_block): Add __hurd_threadvar_max * sizeof (long + int) to 2nd arg to cproc_stack_base. + + * stack.c: Include <hurd/threadvar.h>. + (__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset, + __hurd_threadvar_max): Define variables (uninitialized). + (stack_init): Set __hurd_threadvar_stack_mask to cthread_stack_mask. + Set __hurd_threadvar_stack_offset to point past the cproc_self ptr. + Add __hurd_threadvar_max * sizeof (long int) to 2nd arg to + cproc_stack_base. + + * cthreads.h: #if 0 include of <machine/cthreads.h>. + Instead, include <machine-sp.h>. + (cthread_sp): Define using __thread_stack_pointer. + #if 0 out spin_lock definitions. Just include <spin-lock.h> instead. + (struct mutex): Move `held' member to be first in the structure. + +Wed May 4 14:55:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * i386/thread.c: Changed inclusions because we aren't using + -I flags the way CMU's makefiles do. + + * i386/csw.S: Convert comment character to /* */ pairs. + + * Renamed csw.s to csw.S so that GCC knows to run cpp on it. + * Makefile (machine-sources): Change csw.s to csw.S. + +Wed May 4 07:11:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (GEN_SRCS): Renamed generic-sources. + (I386_SRCS): Replaced with machine-sources, omitting directory. + (SRCS): Renamed sources. Include $(machine-sources) and prepend + $(machine)/ directory name. + (headers): Define variable. + (OBJS): Renamed objects. + (VPATH): Define to $(machine). |