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:09:31PM -0400, Christos Zoulas wrote:
>       struct syslog_data sd = SYSLOG_DATA_INIT;
>       syslog_r(..., &sd, ...);

Even this simple case at the end of pthread_key_create() is enough
to deadlock:

        static struct syslog_data sd = SYSLOG_DATA_INIT;

        syslog_r(LOG_ERR, &sd, "test");

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index