Lines Matching refs:TSRM_API
27 # define TSRM_API __declspec(dllexport) macro
29 # define TSRM_API __declspec(dllimport) macro
32 # define TSRM_API __attribute__ ((visibility("default"))) macro
34 # define TSRM_API macro
104 TSRM_API int tsrm_startup(int expected_threads, int expected_resources, int debug_level, char *debu…
105 TSRM_API void tsrm_shutdown(void);
108 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
111 TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id);
115 TSRM_API void ts_free_thread(void);
121 TSRM_API void ts_free_id(ts_rsrc_id id);
133 TSRM_API int tsrm_error(int level, const char *format, ...);
134 TSRM_API void tsrm_error_set(int level, char *debug_filename);
137 TSRM_API THREAD_T tsrm_thread_id(void);
138 TSRM_API MUTEX_T tsrm_mutex_alloc(void);
139 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);
140 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);
141 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
143 TSRM_API int tsrm_sigmask(int how, const sigset_t *set, sigset_t *oldset);
146 TSRM_API void *tsrm_set_new_thread_begin_handler(tsrm_thread_begin_func_t new_thread_begin_handler);
147 TSRM_API void *tsrm_set_new_thread_end_handler(tsrm_thread_end_func_t new_thread_end_handler);
151 TSRM_API void *tsrm_new_interpreter_context(void);
152 TSRM_API void *tsrm_set_interpreter_context(void *new_ctx);
153 TSRM_API void tsrm_free_interpreter_context(void *context);
155 TSRM_API void *tsrm_get_ls_cache(void);