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
..
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-10-15 03:07:22 +08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-09-26 10:19:31 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-08-15 17:04:50 -07:00
2012-10-01 17:35:49 -07:00
2010-06-27 20:53:04 -07:00
2011-12-06 08:39:18 -08:00
2012-07-31 16:18:22 +12:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-08-17 12:44:23 -07:00
2012-08-20 14:12:20 -07:00
2012-08-31 11:11:40 -07:00
2010-01-15 15:57:02 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-01-15 16:52:35 -08:00
2012-10-01 17:35:49 -07:00
2012-03-26 15:38:59 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-06-22 17:51:41 -07:00
2012-10-09 17:17:24 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2012-09-05 17:47:37 -07:00
2012-08-22 20:45:26 +02:00
2012-06-01 15:54:34 -07:00
2012-09-05 17:47:37 -07:00
2012-10-01 17:35:49 -07:00
2012-06-08 12:14:48 -07:00
2012-10-01 17:35:49 -07:00
2012-08-29 12:08:13 -07:00
2012-08-29 12:08:13 -07:00
2012-10-12 17:05:05 -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
2012-08-29 12:08:13 -07:00
2012-08-29 12:08:13 -07:00
2011-03-14 11:50:56 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2011-03-21 20:01:03 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2011-12-09 14:38:57 -08:00
2012-10-16 17:58:17 -07:00
2012-03-26 15:38:59 -07:00
2010-05-19 14:53:18 -07:00
2012-06-06 10:32:56 -07:00
2012-10-16 17:58:17 -07:00
2011-07-07 22:46:16 +02:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-02-05 16:05:52 -02:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-03-20 12:54:55 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-12-06 13:42:54 +01:00
2010-12-06 13:42:54 +01:00
2010-12-06 13:42:54 +01:00
2010-12-06 13:42:54 +01:00
2011-11-16 16:28:10 +01:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2010-02-05 17:48:07 -02:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-09-21 18:27:40 -07:00
2012-10-16 17:58:17 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-16 17:58:17 -07:00
2012-10-01 17:35:49 -07:00
2012-09-13 15:25:09 -07:00
2012-10-01 17:35:49 -07:00
2012-07-27 15:18:23 +02:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-08-13 17:41:49 -07:00
2009-03-03 19:28:35 -08:00
2010-12-06 12:25:52 +01:00
2010-10-15 02:16:16 +08:00
2012-09-26 14:20:22 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00