diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-09-27 05:45:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-09-27 05:45:26 +0000 |
commit | 7dac9f3d90fc108d2db8e305f6d3d475b6c5b793 (patch) | |
tree | 596c71b8a2292d99f8d98ff44997a1ea86881c9c /malloc/Makefile | |
parent | 2e79fa3ebcdadd4df5d04aa74aed20213f7021f0 (diff) | |
download | glibc-7dac9f3d90fc108d2db8e305f6d3d475b6c5b793.tar.gz |
[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/Makefile | 2 |
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 \ |