]> git.draconx.ca Git - cdecl99.git/commitdiff
Avoid recursively calling glthread_once in error init.
authorNick Bowler <nbowler@draconx.ca>
Wed, 29 Feb 2012 01:05:06 +0000 (20:05 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 1 Mar 2012 01:16:59 +0000 (20:16 -0500)
Apparently at least the GNU C library will deadlock when pthread_once is
called recursively on the same control variable.  This behaviour of the
library doesn't seem to be consistent with the POSIX standard, but it's
easy enough to avoid in this instance.

This can all go away once all the error paths have been updated to
cdecl__set_error.


No differences found