about summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-27 05:45:26 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-27 05:45:26 +0000
commit7dac9f3d90fc108d2db8e305f6d3d475b6c5b793 (patch)
tree596c71b8a2292d99f8d98ff44997a1ea86881c9c /malloc/Makefile
parent2e79fa3ebcdadd4df5d04aa74aed20213f7021f0 (diff)
downloadglibc-7dac9f3d90fc108d2db8e305f6d3d475b6c5b793.tar.gz
glibc-7dac9f3d90fc108d2db8e305f6d3d475b6c5b793.tar.xz
glibc-7dac9f3d90fc108d2db8e305f6d3d475b6c5b793.zip
[BZ #838]
	* malloc/arena.c (ptmalloc_lock_all): If global lock already taken
	by the same thread, just bump the counter.
	(ptmalloc_unlock_all): If counter for recursive locks hasn't reached
	zero, don't do anything else.
	* malloc/Makefile (tests): Add tst-mallocfork.
	* malloc/tst-mallocfork.c: New file.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index ca427077f3..c479da39b7 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -27,7 +27,7 @@ all:
 dist-headers := malloc.h
 headers := $(dist-headers) obstack.h mcheck.h
 tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
-	 tst-mallocstate tst-mcheck
+	 tst-mallocstate tst-mcheck tst-mallocfork
 test-srcs = tst-mtrace
 
 distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memusage.h \