This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2127,7 +2127,7 @@ else version (Posix)
2127
2127
void function (void * ) @nogc nothrow )(loadedLibraries);
2128
2128
}
2129
2129
2130
- obj.dataStorageInit ();
2130
+ obj.initDataStorage ();
2131
2131
2132
2132
atomicStore! (MemoryOrder.raw)(obj.m_isRunning, true );
2133
2133
Thread .setThis(obj); // allocates lazy TLS (see Issue 11981)
@@ -2136,7 +2136,7 @@ else version (Posix)
2136
2136
{
2137
2137
Thread .remove(obj);
2138
2138
atomicStore! (MemoryOrder.raw)(obj.m_isRunning, false );
2139
- obj.dataStorageDestroy ();
2139
+ obj.destroyDataStorage ();
2140
2140
}
2141
2141
Thread .add(&obj.m_main);
2142
2142
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class ThreadBase
119
119
*/
120
120
package bool destructBeforeDtor() nothrow @nogc
121
121
{
122
- dataStorageDestroyIfAvail ();
122
+ destroyDataStorageIfAvail ();
123
123
124
124
bool no_context = m_addr == m_addr.init;
125
125
bool not_registered = ! next && ! prev && (sm_tbeg ! is this );
@@ -132,7 +132,7 @@ class ThreadBase
132
132
m_tlsgcdata = rt_tlsgc_init();
133
133
}
134
134
135
- package void dataStorageInit () nothrow
135
+ package void initDataStorage () nothrow
136
136
{
137
137
assert (m_curr is &m_main);
138
138
@@ -141,16 +141,16 @@ class ThreadBase
141
141
tlsGCdataInit();
142
142
}
143
143
144
- package void dataStorageDestroy () nothrow @nogc
144
+ package void destroyDataStorage () nothrow @nogc
145
145
{
146
146
rt_tlsgc_destroy(m_tlsgcdata);
147
147
m_tlsgcdata = null ;
148
148
}
149
149
150
- package void dataStorageDestroyIfAvail () nothrow @nogc
150
+ package void destroyDataStorageIfAvail () nothrow @nogc
151
151
{
152
152
if (m_tlsgcdata)
153
- dataStorageDestroy ();
153
+ destroyDataStorage ();
154
154
}
155
155
156
156
You can’t perform that action at this time.
0 commit comments