Home
last modified time | relevance | path

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

/kernel/liteos_a/compat/posix/src/
Dpthread.c170 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()
[all …]