Lines Matching refs:thread_id

28 	THREAD_T thread_id;  member
74 unshuffled_offset, (long) thread_resources->thread_id, array[unshuffled_offset])); \
270 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource() argument
274 TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Creating data structures for thread %x", thread_id)); in allocate_new_resource()
278 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource()
285 tsrm_new_thread_begin_handler(thread_id, &((*thread_resources_ptr)->storage)); in allocate_new_resource()
300 tsrm_new_thread_end_handler(thread_id, &((*thread_resources_ptr)->storage)); in allocate_new_resource()
310 THREAD_T thread_id; in ts_resource_ex() local
332 …EL_INFO, "Fetching resource id %d for current thread %d", id, (long) thread_resources->thread_id)); in ts_resource_ex()
339 thread_id = tsrm_thread_id(); in ts_resource_ex()
341 thread_id = *th_id; in ts_resource_ex()
344 …TSRM_ERROR((TSRM_ERROR_LEVEL_INFO, "Fetching resource id %d for thread %ld", id, (long) thread_id)… in ts_resource_ex()
347 hash_value = THREAD_HASH_OF(thread_id, tsrm_tls_table_size); in ts_resource_ex()
351 allocate_new_resource(&tsrm_tls_table[hash_value], thread_id); in ts_resource_ex()
352 return ts_resource_ex(id, &thread_id); in ts_resource_ex()
355 if (thread_resources->thread_id == thread_id) { in ts_resource_ex()
361 allocate_new_resource(&thread_resources->next, thread_id); in ts_resource_ex()
362 return ts_resource_ex(id, &thread_id); in ts_resource_ex()
426 THREAD_T thread_id; in tsrm_new_interpreter_context() local
428 thread_id = tsrm_thread_id(); in tsrm_new_interpreter_context()
433 allocate_new_resource(&new_ctx, thread_id); in tsrm_new_interpreter_context()
446 THREAD_T thread_id = tsrm_thread_id(); in ts_free_thread() local
451 hash_value = THREAD_HASH_OF(thread_id, tsrm_tls_table_size); in ts_free_thread()
455 if (thread_resources->thread_id == thread_id) { in ts_free_thread()
488 THREAD_T thread_id = tsrm_thread_id(); in ts_free_worker_threads() local
493 hash_value = THREAD_HASH_OF(thread_id, tsrm_tls_table_size); in ts_free_worker_threads()
497 if (thread_resources->thread_id != thread_id) { in ts_free_worker_threads()