Elliott Hughes 5419b94747 Make dlerror(3) thread-safe.
I gave up trying to use the usual thread-local buffer idiom; calls to
calloc(3) and free(3) from any of the "dl" functions -- which live in
the dynamic linker -- end up resolving to the dynamic linker's stubs.
I tried to work around that, but was just making things more complicated.
This alternative costs us a well-known TLS slot (instead of the
dynamically-allocated TLS slot we'd have used otherwise, so no difference
there), plus an extra buffer inside every pthread_internal_t.

Bug: 5404023
Change-Id: Ie9614edd05b6d1eeaf7bf9172792d616c6361767
2012-10-16 17:58:17 -07:00
..
2012-09-26 10:19:31 -07:00
2011-12-06 08:39:18 -08:00
2012-08-20 14:12:20 -07:00
2010-01-15 15:57:02 -08:00
2012-06-08 12:14:48 -07:00
2012-10-11 16:08:51 -07:00
2012-10-11 16:08:51 -07:00
2012-10-11 16:08:51 -07:00
2009-03-03 19:28:35 -08:00
2011-03-21 20:01:03 -07:00
2012-10-16 17:58:17 -07:00
2011-07-07 22:46:16 +02:00
2012-10-16 17:58:17 -07:00
2012-10-16 17:58:17 -07:00
2012-09-13 15:25:09 -07:00
2010-10-15 02:16:16 +08:00
2012-09-26 14:20:22 -07:00