Home
last modified time | relevance | path

Searched refs:thread_resources_ptr (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/TSRM/
H A DTSRM.c275 (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); in allocate_new_resource()
276 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource()
277 (*thread_resources_ptr)->count = id_count; in allocate_new_resource()
278 (*thread_resources_ptr)->thread_id = thread_id; in allocate_new_resource()
279 (*thread_resources_ptr)->next = NULL; in allocate_new_resource()
282 tsrm_tls_set(*thread_resources_ptr); in allocate_new_resource()
285 tsrm_new_thread_begin_handler(thread_id, &((*thread_resources_ptr)->storage)); in allocate_new_resource()
289 (*thread_resources_ptr)->storage[i] = NULL; in allocate_new_resource()
292 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource()
294 …resource_types_table[i].ctor((*thread_resources_ptr)->storage[i], &(*thread_resources_ptr)->storag… in allocate_new_resource()
[all …]

Completed in 7 milliseconds