Question on glibc: free() API

Mike Frysinger
Wed Mar 4 00:03:00 GMT 2009

On Tuesday 03 March 2009 19:01:29 Bizhan Gholikhamseh (bgholikh) wrote:
> We are trying to understand a system performance issue with our system.
> We are capturing stack calls when a thread in application is suspended
> and we see the following stack:
> free(...)
> Pthreat_mutex_init(...)
> pthread_wait_for_restart_signal(...)
> pthread_sigsuspend(...)
> My question is: the thread which calls free() is suspended, why? And
> under what condition it becomes runnable.

the malloc subsystem has locks in it

More information about the Libc-help mailing list