realloc/free async-signal safe?

Kurt Miller kurt@intricatesoftware.com
Wed Sep 16 18:19:00 GMT 2009


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



More information about the Libc-help mailing list