Subject: Re: infinite loop in pthread__mutex_spin after call to exit
To: Andrew Doran <firstname.lastname@example.org>
From: Sverre Froyen <email@example.com>
Date: 12/31/2007 16:18:48
I have resolved this issue by changing atexit_mutex to be fully recursive.
The mutex was recursive in __cxa_finalize but not in __cxa_atexit. I have
filed PR lib/37654, which includes a patch.
I should have noted in the PR that atexit.c does not compile unless _REENTRANT
is defined -- with or without my patch. That is a separate issue, however.