Searched refs:thread_resources_ptr (Results 1 – 1 of 1) sorted by relevance
378 static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_T thread_id) in allocate_new_resource() argument382 (*thread_resources_ptr)->storage = NULL; in allocate_new_resource()384 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource()386 (*thread_resources_ptr)->count = id_count; in allocate_new_resource()387 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource()388 (*thread_resources_ptr)->next = NULL; in allocate_new_resource()391 set_thread_local_storage_resource_to(*thread_resources_ptr); in allocate_new_resource()398 (*thread_resources_ptr)->storage[i] = NULL; in allocate_new_resource()401 …(*thread_resources_ptr)->storage[i] = (void *) (((char*)(*thread_resources_ptr)) + resource_types_… in allocate_new_resource()403 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource()[all …]
Completed in 6 milliseconds