Alexandre Oliva d675eaf7d9 Bug 20915: Do not initialize DTV of other threads.
In _dl_nothread_init_static_tls() and init_one_static_tls() we must not
touch the DTV of other threads since we do not have ownership of them.
The DTV need not be initialized at this point anyway since only LD/GD
accesses will use them. If LD/GD accesses occur they will take care to
initialize their own thread's DTV.

Concurrency comments were removed from the patch since they need to be
reworked along with a full description of DTV ownership and when it is
or is not safe to modify these structures.

Alexandre Oliva's original patch and discussion:
https://sourceware.org/ml/libc-alpha/2016-09/msg00512.html
2017-02-03 21:34:14 -05:00
..
2014-05-07 14:00:01 +02:00
2007-05-15 06:49:29 +00:00
..
2007-12-12 18:41:10 +00:00
2006-08-13 01:56:09 +00:00
2011-10-24 21:43:33 -04:00
2017-01-27 06:53:20 +01:00
2008-05-31 08:56:14 +00:00
2007-05-26 01:23:04 +00:00
2011-09-10 14:34:15 -04:00
2007-08-21 23:55:36 +00:00