summaryrefslogtreecommitdiff
path: root/libthreads/malloc.c
AgeCommit message (Collapse)Author
1996-06-06(more_memory): Use assert_perror instead of MACH_CALL.Miles Bader
"cthread_internals.h": Include removed.
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.
1994-05-05entered into RCSRoland McGrath
1994-04-06Formerly malloc.c.~3~Michael I. Bushnell
1994-01-22Formerly malloc.c.~2~Michael I. Bushnell
1992-10-06Initial revisionMichael I. Bushnell