Searched refs:threadAttr (Results 1 – 2 of 2) sorted by relevance
97 static int PthreadAttrCheck(const pthread_attr_t *threadAttr, TSK_INIT_PARAM_S *taskInitParam) in PthreadAttrCheck() argument103 if (threadAttr->stacksize < PTHREAD_STACK_MIN) { in PthreadAttrCheck()106 if ((threadAttr->stackaddr_set != 0) && (threadAttr->stacksize_set != 0)) { in PthreadAttrCheck()107 taskInitParam->stackAddr = (UINTPTR)threadAttr->stackaddr; in PthreadAttrCheck()109 if (threadAttr->stacksize_set != 0) { in PthreadAttrCheck()110 taskInitParam->uwStackSize = threadAttr->stacksize; in PthreadAttrCheck()114 if (threadAttr->inheritsched == PTHREAD_EXPLICIT_SCHED) { in PthreadAttrCheck()115 taskInitParam->usTaskPrio = (UINT16)threadAttr->schedparam.sched_priority; in PthreadAttrCheck()123 taskInitParam->usTaskPrio = (UINT16)threadAttr->schedparam.sched_priority; in PthreadAttrCheck()131 const pthread_attr_t *threadAttr = attr; in PthreadCreateAttrInit() local[all …]
393 STATIC VOID TelnetClientTaskAttr(pthread_attr_t *threadAttr) in TelnetClientTaskAttr() argument395 (VOID)pthread_attr_init(threadAttr); in TelnetClientTaskAttr()396 threadAttr->inheritsched = PTHREAD_EXPLICIT_SCHED; in TelnetClientTaskAttr()397 threadAttr->schedparam.sched_priority = TELNET_TASK_PRIORITY; in TelnetClientTaskAttr()398 threadAttr->detachstate = PTHREAD_CREATE_DETACHED; in TelnetClientTaskAttr()399 (VOID)pthread_attr_setstacksize(threadAttr, TELNET_TASK_STACK_SIZE); in TelnetClientTaskAttr()