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 07:53:24PM +0200, Joerg Sonnenberger wrote:
> 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.
It therefore means it cannot be used there?
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index