This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
realloc/free async-signal safe?
- From: Kurt Miller <kurt at intricatesoftware dot com>
- To: libc-help at sourceware dot org
- Date: Wed, 16 Sep 2009 14:19:14 -0400
- Subject: realloc/free async-signal safe?
Hi,
I've looked over the malloc/realloc/free implementation and understand
its use of arena's with trylock to avoid lock contention. However, it wasn't
clear to me if the algorithm is truly async-signal safe or not.
Is glibc-2.5's realloc/free implementation async-signal safe?
Regards,
-Kurt