This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Question on glibc: free() API
- From: "Bizhan Gholikhamseh (bgholikh)" <bgholikh at cisco dot com>
- To: <libc-help at sourceware dot org>
- Date: Tue, 3 Mar 2009 16:01:29 -0800
- Subject: Question on glibc: free() API
- Authentication-results: sj-dkim-4; header.From=bgholikh@cisco.com; dkim=pass (sig from cisco.com/sjdkim4002 verified; );
Hi all,
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.
Many thanks in advance,
Bizhan