[BZ #838]
authorUlrich Drepper <drepper@redhat.com>
Tue, 27 Sep 2005 05:45:26 +0000 (05:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 27 Sep 2005 05:45:26 +0000 (05:45 +0000)
commit7dac9f3d90fc108d2db8e305f6d3d475b6c5b793
tree596c71b8a2292d99f8d98ff44997a1ea86881c9c
parent2e79fa3ebcdadd4df5d04aa74aed20213f7021f0
[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.
ChangeLog
malloc/Makefile
malloc/arena.c
malloc/tst-mallocfork.c [new file with mode: 0644]