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
82 TSRM_API int tsrm_startup(int expected_threads, int expected_resources, int debug_level, const char…
83 TSRM_API void tsrm_shutdown(void);
86 TSRM_API void tsrm_env_lock(void);
87 TSRM_API void tsrm_env_unlock(void);
90 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
93 TSRM_API void tsrm_reserve(size_t size);
94 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…
97 TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id);
101 TSRM_API void ts_free_thread(void);
104 TSRM_API void ts_free_id(ts_rsrc_id id);
117 TSRM_API int tsrm_error(int level, const char *format, ...);
118 TSRM_API void tsrm_error_set(int level, const char *debug_filename);
121 TSRM_API THREAD_T tsrm_thread_id(void);
122 TSRM_API MUTEX_T tsrm_mutex_alloc(void);
123 TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);
124 TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);
125 TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
127 TSRM_API int tsrm_sigmask(int how, const sigset_t *set, sigset_t *oldset);
130 TSRM_API void *tsrm_set_new_thread_begin_handler(tsrm_thread_begin_func_t new_thread_begin_handler);
131 TSRM_API void *tsrm_set_new_thread_end_handler(tsrm_thread_end_func_t new_thread_end_handler);
132 TSRM_API void *tsrm_set_shutdown_handler(tsrm_shutdown_func_t shutdown_handler);
134 TSRM_API void *tsrm_get_ls_cache(void);
135 TSRM_API size_t tsrm_get_ls_cache_tcb_offset(void);
136 TSRM_API uint8_t tsrm_is_main_thread(void);
137 TSRM_API uint8_t tsrm_is_shutdown(void);
138 TSRM_API const char *tsrm_api_name(void);