Searched refs:pthread_ptr (Results 1 – 11 of 11) sorted by relevance
114 POSIX_TCB *pthread_ptr, *current_thread_ptr; in pthread_create() local150 status = posix_allocate_pthread_t(&pthread_ptr); in pthread_create()153 if ((status == ERROR) || (!pthread_ptr)) in pthread_create()165 pthread_ptr->current_priority = current_thread_ptr->current_priority ; in pthread_create()166 pthread_ptr->detach_state = current_thread_ptr->detach_state ; in pthread_create()167 pthread_ptr->inherit_sched = current_thread_ptr->inherit_sched ; in pthread_create()168 pthread_ptr->orig_priority = current_thread_ptr->orig_priority ; in pthread_create()169 pthread_ptr->sched_attr.sched_priority= current_thread_ptr->sched_attr.sched_priority ; in pthread_create()170 pthread_ptr->pthread_flags = current_thread_ptr->pthread_flags ; in pthread_create()171 pthread_ptr->sched_policy = current_thread_ptr->sched_policy; in pthread_create()[all …]
216 VOID posix_copy_pthread_attr(POSIX_TCB *pthread_ptr,pthread_attr_t *attr) in posix_copy_pthread_attr() argument219 pthread_ptr->current_priority = attr->sched_attr.sched_priority ; in posix_copy_pthread_attr()220 pthread_ptr->detach_state = attr->detach_state ; in posix_copy_pthread_attr()221 pthread_ptr->inherit_sched = attr->inherit_sched ; in posix_copy_pthread_attr()222 pthread_ptr->orig_priority = attr->sched_attr.sched_priority ; in posix_copy_pthread_attr()223 pthread_ptr->sched_attr.sched_priority= attr->sched_attr.sched_priority ; in posix_copy_pthread_attr()224 pthread_ptr->pthread_flags = attr->pthread_flags ; in posix_copy_pthread_attr()225 pthread_ptr->sched_policy = attr->sched_policy; in posix_copy_pthread_attr()226 pthread_ptr->stack_size = attr->stack_size ; in posix_copy_pthread_attr()227 pthread_ptr->stack_address = attr->stack_address; in posix_copy_pthread_attr()[all …]
75 POSIX_TCB *pthread_ptr; in pthread_testcancel() local79 pthread_ptr = posix_tid2tcb(pthread_self()); in pthread_testcancel()82 if ( (pthread_ptr->cancel_state == PTHREAD_CANCEL_ENABLE) && in pthread_testcancel()83 (pthread_ptr->cancel_type==PTHREAD_CANCEL_DEFERRED) && in pthread_testcancel()84 (pthread_ptr->cancel_request==TRUE) ) in pthread_testcancel()88 posix_destroy_pthread(pthread_ptr,(VOID *)0); in pthread_testcancel()
75 POSIX_TCB *pthread_ptr; in pthread_cancel() local90 pthread_ptr = (POSIX_TCB *)thread_ptr; in pthread_cancel()93 if ( pthread_ptr->cancel_state != PTHREAD_CANCEL_ENABLE) in pthread_cancel()99 if( pthread_ptr->cancel_type==PTHREAD_CANCEL_DEFERRED ) in pthread_cancel()102 pthread_ptr->cancel_request=TRUE; in pthread_cancel()104 else if(pthread_ptr->cancel_type==PTHREAD_CANCEL_ASYNCHRONOUS ) in pthread_cancel()108 posix_destroy_pthread(pthread_ptr,(VOID *)0); in pthread_cancel()
87 POSIX_TCB *pthread_ptr; in pthread_detach() local91 pthread_ptr = posix_tid2tcb(thread); in pthread_detach() local92 if(pthread_ptr==NULL) in pthread_detach()97 if(pthread_ptr->is_detached==TX_TRUE) in pthread_detach()102 pthread_ptr->is_detached = TX_TRUE; in pthread_detach()
78 POSIX_TCB *pthread_ptr; in pthread_setcancelstate() local88 pthread_ptr = (POSIX_TCB *)thread_ptr; in pthread_setcancelstate()89 *oldstate = pthread_ptr->cancel_state; in pthread_setcancelstate()90 pthread_ptr->cancel_state = state; in pthread_setcancelstate()
77 POSIX_TCB *pthread_ptr; in pthread_setcanceltype() local87 pthread_ptr = (POSIX_TCB *)thread_ptr; in pthread_setcanceltype()88 *oldtype = pthread_ptr->cancel_type; in pthread_setcanceltype()89 pthread_ptr->cancel_type = type; in pthread_setcanceltype()
75 POSIX_TCB *pthread_ptr; in pthread_getcanceltype() local85 pthread_ptr = (POSIX_TCB *)thread_ptr; in pthread_getcanceltype()86 *oldtype = pthread_ptr->cancel_type; in pthread_getcanceltype()87 pthread_ptr->cancel_type = type; in pthread_getcanceltype()
76 POSIX_TCB *pthread_ptr; in posix_system_manager_entry() local95 pthread_ptr = (POSIX_TCB *)((((ALIGN_TYPE)request[0]) << 32) | request[1]); in posix_system_manager_entry()98 pthread_ptr = (POSIX_TCB *)request[0]; in posix_system_manager_entry()103 posix_do_pthread_delete(pthread_ptr, value_ptr); in posix_system_manager_entry()
80 POSIX_TCB *pthread_ptr; in pthread_exit() local85 pthread_ptr = (POSIX_TCB *)thread_ptr; in pthread_exit()88 posix_destroy_pthread(pthread_ptr,value_ptr); in pthread_exit()
187 TX_THREAD *posix_tcb2thread (POSIX_TCB *pthread_ptr);197 VOID posix_copy_pthread_attr(POSIX_TCB *pthread_ptr,pthread_attr_t *attr);199 VOID posix_destroy_pthread(POSIX_TCB *pthread_ptr, VOID *value_ptr);201 VOID posix_do_pthread_delete(POSIX_TCB *pthread_ptr, VOID *value_ptr);