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 /debug | |
parent | 2e79fa3ebcdadd4df5d04aa74aed20213f7021f0 (diff) | |
download | glibc-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 'debug')
0 files changed, 0 insertions, 0 deletions