(ptmalloc_lock_all): If global lock already taken by the same thread,
authordrepper <drepper>
Tue, 27 Sep 2005 05:44:11 +0000 (05:44 +0000)
committerdrepper <drepper>
Tue, 27 Sep 2005 05:44:11 +0000 (05:44 +0000)
commit1f69d89fd3e0635eb16ccf4f8b77c394ce5d566a
treea6ad3180b9305a4651155242378e6764614b251b
parent7966d1082c84819b98cadcf9bde22076f0f5b0e8
(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/arena.c