/ThreadX-v6.2.1/utility/rtos_compatibility_layers/posix/ |
D | px_pth_set_default_pthread_attr.c | 66 VOID set_default_pthread_attr(pthread_attr_t *attr) in set_default_pthread_attr() argument 68 attr->detach_state =PTHREAD_CREATE_JOINABLE; in set_default_pthread_attr() 69 attr->inherit_sched =0; in set_default_pthread_attr() 70 attr->inuse =TX_TRUE; in set_default_pthread_attr() 71 attr->pthread_flags =0; in set_default_pthread_attr() 72 attr->sched_attr.sched_priority =31; in set_default_pthread_attr() 73 attr->sched_policy =0; in set_default_pthread_attr() 74 attr->stack_address =0; in set_default_pthread_attr() 75 attr->stack_size = TX_DEFAULT_THREAD_STACK_SIZE; in set_default_pthread_attr()
|
D | px_pth_attr_init.c | 71 INT pthread_attr_init(pthread_attr_t *attr) in pthread_attr_init() argument 79 if (attr->inuse == TX_FALSE) in pthread_attr_init() 80 attr->inuse = TX_TRUE; in pthread_attr_init() 82 set_default_pthread_attr(attr); in pthread_attr_init()
|
D | tx_posix.h | 501 INT pthread_create (pthread_t *thread, pthread_attr_t *attr, 508 INT pthread_attr_destroy(pthread_attr_t *attr); 509 INT pthread_attr_getdetachstate( pthread_attr_t *attr,INT *detachstate); 510 INT pthread_attr_setdetachstate(pthread_attr_t *attr,INT detachstate); 511 INT pthread_attr_getinheritsched(pthread_attr_t *attr, INT *inheritsched); 512 INT pthread_attr_setinheritsched(pthread_attr_t *attr, INT inheritsched); 513 INT pthread_attr_getschedparam(pthread_attr_t *attr,struct sched_param *param); 514 INT pthread_attr_setschedparam(pthread_attr_t *attr,struct sched_param *param); 515 INT pthread_attr_getschedpolicy(pthread_attr_t *attr, INT *policy); 516 INT pthread_attr_setschedpolicy(pthread_attr_t *attr, INT policy); [all …]
|
D | px_mx_attr_initi.c | 71 INT pthread_mutexattr_init(pthread_mutexattr_t *attr) in pthread_mutexattr_init() argument 81 if (attr->in_use == TX_TRUE) in pthread_mutexattr_init() 88 attr->in_use = TX_TRUE; in pthread_mutexattr_init() 89 set_default_mutexattr(attr); in pthread_mutexattr_init()
|
D | px_pth_attr_getstack.c | 74 INT pthread_attr_getstack( pthread_attr_t *attr,void **stackaddr, in pthread_attr_getstack() argument 78 if (attr->inuse == TX_FALSE) in pthread_attr_getstack() 86 *stackaddr = attr->stack_address; in pthread_attr_getstack() 87 *stacksize = attr->stack_size ; in pthread_attr_getstack()
|
D | px_pth_attr_setstack.c | 74 INT pthread_attr_setstack( pthread_attr_t *attr,void *stackaddr, in pthread_attr_setstack() argument 78 if (attr->inuse == TX_FALSE) in pthread_attr_setstack() 86 attr->stack_address = stackaddr; /* This has got no effect */ in pthread_attr_setstack() 87 attr->stack_size = stacksize; in pthread_attr_setstack()
|
D | px_mx_init.c | 76 INT pthread_mutex_init(pthread_mutex_t *mutex ,pthread_mutexattr_t *attr) in pthread_mutex_init() argument 97 if (!attr) in pthread_mutex_init() 100 attr = &(posix_default_mutex_attr); in pthread_mutex_init() 105 if (( (attr->in_use) == TX_FALSE)|| (attr->type!=PTHREAD_MUTEX_RECURSIVE)) in pthread_mutex_init()
|
D | px_pth_attr_destroy.c | 75 INT pthread_attr_destroy(pthread_attr_t *attr) in pthread_attr_destroy() argument 80 if (attr->inuse == TX_FALSE) in pthread_attr_destroy() 85 attr->inuse = TX_FALSE; in pthread_attr_destroy()
|
D | px_mx_attr_destroy.c | 74 INT pthread_mutexattr_destroy(pthread_mutexattr_t *attr) in pthread_mutexattr_destroy() argument 79 if (attr->in_use == TX_FALSE) in pthread_mutexattr_destroy() 88 attr->in_use = TX_FALSE; in pthread_mutexattr_destroy()
|
D | px_pth_attr_getstackaddr.c | 71 INT pthread_attr_getstackaddr( pthread_attr_t *attr,void **stackaddr) in pthread_attr_getstackaddr() argument 74 if (attr->inuse == TX_FALSE) in pthread_attr_getstackaddr() 82 *stackaddr = attr->stack_address ; in pthread_attr_getstackaddr()
|
D | px_pth_attr_setstackaddr.c | 71 INT pthread_attr_setstackaddr(pthread_attr_t *attr,void *stackaddr) in pthread_attr_setstackaddr() argument 75 if (attr->inuse == TX_FALSE) in pthread_attr_setstackaddr() 83 attr->stack_address = stackaddr; in pthread_attr_setstackaddr()
|
D | px_pth_create.c | 107 INT pthread_create (pthread_t *thread, pthread_attr_t *attr, in pthread_create() argument 131 if (!attr) in pthread_create() 134 attr = &(posix_default_pthread_attr); in pthread_create() 139 if ( (attr->inuse) == TX_FALSE) in pthread_create() 160 if(attr->inherit_sched==PTHREAD_INHERIT_SCHED) in pthread_create() 181 posix_copy_pthread_attr(pthread_ptr,attr); in pthread_create() 211 if((attr->stack_address)==NULL) in pthread_create() 213 pthread_ptr->stack_size = attr->stack_size ; in pthread_create()
|
D | px_mx_attr_getprotocol.c | 72 INT pthread_mutexattr_getprotocol( pthread_mutexattr_t *attr, INT *protocol) in pthread_mutexattr_getprotocol() argument 76 if (attr->in_use == TX_FALSE) in pthread_mutexattr_getprotocol() 84 *protocol = attr->protocol; in pthread_mutexattr_getprotocol()
|
D | px_mx_attr_getpshared.c | 72 INT pthread_mutexattr_getpshared( pthread_mutexattr_t *attr, INT *pshared) in pthread_mutexattr_getpshared() argument 76 if (attr->in_use == TX_FALSE) in pthread_mutexattr_getpshared() 84 *pshared = attr->pshared; in pthread_mutexattr_getpshared()
|
D | px_mx_attr_gettype.c | 72 INT pthread_mutexattr_gettype( pthread_mutexattr_t *attr, INT *type) in pthread_mutexattr_gettype() argument 76 if (attr->in_use == TX_FALSE) in pthread_mutexattr_gettype() 84 *type = attr->type ; in pthread_mutexattr_gettype()
|
D | px_pth_attr_getdetachstate.c | 78 INT pthread_attr_getdetachstate( pthread_attr_t *attr,INT *detachstate) in pthread_attr_getdetachstate() argument 82 if (attr->inuse == TX_FALSE) in pthread_attr_getdetachstate() 90 *detachstate = attr->detach_state ; in pthread_attr_getdetachstate()
|
D | px_pth_attr_getinheritsched.c | 78 INT pthread_attr_getinheritsched(pthread_attr_t *attr, INT *inheritsched) in pthread_attr_getinheritsched() argument 81 if (attr->inuse == TX_FALSE) in pthread_attr_getinheritsched() 89 *inheritsched = attr->inherit_sched ; in pthread_attr_getinheritsched()
|
D | px_pth_attr_getschedpolicy.c | 72 INT pthread_attr_getschedpolicy(pthread_attr_t *attr, INT *policy) in pthread_attr_getschedpolicy() argument 75 if (attr->inuse == TX_FALSE) in pthread_attr_getschedpolicy() 83 *policy = attr->sched_policy; in pthread_attr_getschedpolicy()
|
D | px_pth_attr_getstacksize.c | 73 INT pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize) in pthread_attr_getstacksize() argument 77 if (attr->inuse == TX_FALSE) in pthread_attr_getstacksize() 85 *stacksize = attr->stack_size; in pthread_attr_getstacksize()
|
D | px_pth_attr_setdetachstate.c | 78 INT pthread_attr_setdetachstate(pthread_attr_t *attr,INT detachstate) in pthread_attr_setdetachstate() argument 81 if (attr->inuse == TX_FALSE) in pthread_attr_setdetachstate() 89 attr->detach_state = detachstate ; in pthread_attr_setdetachstate()
|
D | px_pth_attr_setinheritsched.c | 76 INT pthread_attr_setinheritsched(pthread_attr_t *attr, INT inheritsched) in pthread_attr_setinheritsched() argument 79 if (attr->inuse == TX_FALSE) in pthread_attr_setinheritsched() 87 attr->inherit_sched = inheritsched ; in pthread_attr_setinheritsched()
|
D | px_pth_attr_setschedpolicyl.c | 72 INT pthread_attr_setschedpolicy(pthread_attr_t *attr, INT policy) in pthread_attr_setschedpolicy() argument 75 if (attr->inuse == TX_FALSE) in pthread_attr_setschedpolicy() 83 attr->sched_policy = policy; in pthread_attr_setschedpolicy()
|
D | px_pth_attr_setstacksize.c | 72 INT pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) in pthread_attr_setstacksize() argument 75 if (attr->inuse == TX_FALSE) in pthread_attr_setstacksize() 83 attr->stack_size = stacksize; in pthread_attr_setstacksize()
|
D | px_pth_attr_getschedparam.c | 73 INT pthread_attr_getschedparam(pthread_attr_t *attr,struct sched_param *param) in pthread_attr_getschedparam() argument 76 if (attr->inuse == TX_FALSE) in pthread_attr_getschedparam() 84 param->sched_priority = attr->sched_attr.sched_priority; in pthread_attr_getschedparam()
|
D | px_mx_attr_setprotocol.c | 72 INT pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, INT protocol) in pthread_mutexattr_setprotocol() argument 76 if (attr->in_use == TX_FALSE) in pthread_mutexattr_setprotocol() 86 attr->protocol = protocol; in pthread_mutexattr_setprotocol()
|