Lines Matching refs:userAttr
170 STATIC VOID SetPthreadDataAttr(const pthread_attr_t *userAttr, const pthread_t threadID, in SetPthreadDataAttr() argument
173 created->attr = *userAttr; in SetPthreadDataAttr()
176 created->state = (userAttr->detachstate == PTHREAD_CREATE_JOINABLE) ? in SetPthreadDataAttr()
188 STATIC UINT32 InitPthreadData(pthread_t threadID, pthread_attr_t *userAttr, in InitPthreadData() argument
201 userAttr->stacksize = taskCB->stackSize; in InitPthreadData()
208 if (userAttr->cpuset.__bits[0] > 0) { in InitPthreadData()
209 taskCB->cpuAffiMask = (UINT16)userAttr->cpuset.__bits[0]; in InitPthreadData()
213 SetPthreadDataAttr(userAttr, threadID, taskCB, created); in InitPthreadData()
220 pthread_attr_t userAttr; in pthread_create() local
232 SetPthreadAttr(self, attr, &userAttr); in pthread_create()
240 taskInitParam.usTaskPrio = (UINT16)userAttr.schedparam.sched_priority; in pthread_create()
241 taskInitParam.uwStackSize = userAttr.stacksize; in pthread_create()
247 if (userAttr.detachstate == PTHREAD_CREATE_DETACHED) { in pthread_create()
258 ret = InitPthreadData(*thread, &userAttr, name, PTHREAD_DATA_NAME_MAX); in pthread_create()