diff options
author | Joe Watkins <krakjoe@php.net> | 2019-06-26 13:18:50 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-06-28 10:27:19 +0200 |
commit | 68485f8ab4df0e1b3e4f446006ce25b6be358975 (patch) | |
tree | c4b9011936860d33810039a4f95b48d9bc77420d /TSRM/TSRM.h | |
parent | bc0db8ce453aab34941cfe510833d218e50fcae4 (diff) | |
download | php-git-68485f8ab4df0e1b3e4f446006ce25b6be358975.tar.gz |
implement tsrm_is_shutdown API
Diffstat (limited to 'TSRM/TSRM.h')
-rw-r--r-- | TSRM/TSRM.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h index d2be318440..3c88ac3edb 100644 --- a/TSRM/TSRM.h +++ b/TSRM/TSRM.h @@ -115,9 +115,6 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id); /* frees all resources allocated for the current thread */ TSRM_API void ts_free_thread(void); -/* frees all resources allocated for all threads except current */ -void ts_free_worker_threads(void); - /* deallocates all occurrences of a given id */ TSRM_API void ts_free_id(ts_rsrc_id id); @@ -157,6 +154,7 @@ TSRM_API void tsrm_free_interpreter_context(void *context); TSRM_API void *tsrm_get_ls_cache(void); TSRM_API uint8_t tsrm_is_main_thread(void); +TSRM_API uint8_t tsrm_is_shutdown(void); TSRM_API const char *tsrm_api_name(void); #ifdef TSRM_WIN32 |