tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using backtrace(3) in libpthread



On Fri, Apr 25, 2014 at 04:37:50PM +0000, Emmanuel Dreyfus wrote:
> I would like to obtain a backtrace using libexecinfo in 
> pthread_key_create() and pthread_key_delete(). I installed libexecinfo
> from pkgsrc and added the code below at the end of the two functions.

Note that backtrace(3) is quite likely to require mutexes and/or malloc.

Joerg


Home | Main Index | Thread Index | Old Index