@@ -199,7 +199,7 @@ ZEND_API bool zend_async_reactor_is_enabled(void)
199
199
return reactor_module_name != NULL ;
200
200
}
201
201
202
- static void ts_globals_ctor (zend_async_globals_t * globals )
202
+ static void internal_globals_ctor (zend_async_globals_t * globals )
203
203
{
204
204
globals -> state = ZEND_ASYNC_OFF ;
205
205
zend_atomic_bool_store (& globals -> heartbeat , false);
@@ -213,21 +213,21 @@ static void ts_globals_ctor(zend_async_globals_t *globals)
213
213
globals -> exit_exception = NULL ;
214
214
}
215
215
216
- static void ts_globals_dtor (zend_async_globals_t * globals )
216
+ static void internal_globals_dtor (zend_async_globals_t * globals )
217
217
{
218
218
}
219
219
220
220
void zend_async_globals_ctor (void )
221
221
{
222
222
#ifdef ZTS
223
223
ts_allocate_fast_id (& zend_async_globals_id , & zend_async_globals_offset ,
224
- sizeof (zend_async_globals_t ), (ts_allocate_ctor ) ts_globals_ctor ,
225
- (ts_allocate_dtor ) ts_globals_dtor );
224
+ sizeof (zend_async_globals_t ), (ts_allocate_ctor ) internal_globals_ctor ,
225
+ (ts_allocate_dtor ) internal_globals_dtor );
226
226
227
227
ZEND_ASSERT (zend_async_globals_id != 0 && "zend_async_globals allocation failed" );
228
228
229
229
#else
230
- ts_globals_ctor (& zend_async_globals_api );
230
+ internal_globals_ctor (& zend_async_globals_api );
231
231
#endif
232
232
}
233
233
@@ -239,7 +239,7 @@ void zend_async_globals_dtor(void)
239
239
{
240
240
#ifdef ZTS
241
241
#else
242
- ts_globals_dtor (& zend_async_globals_api );
242
+ internal_globals_dtor (& zend_async_globals_api );
243
243
#endif
244
244
}
245
245
0 commit comments