Home
last modified time | relevance | path

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

/kernel/liteos_m/kal/posix/src/
Dpthread_mutex.c155 mutex->stAttr = useAttr; in pthread_mutex_init()
207 if (CheckMutexAttr(&mutex->stAttr) != LOS_OK) { in MuxPreCheck()
240 if ((muxPended->owner == runningTask) && (mutex->stAttr.type == PTHREAD_MUTEX_RECURSIVE)) { in MuxPendForPosix()
298 if ((--(muxPosted->muxCount) != 0) && (mutex->stAttr.type == PTHREAD_MUTEX_RECURSIVE)) { in MuxPostForPosix()
359 if ((mutex->stAttr.type == PTHREAD_MUTEX_ERRORCHECK) && in pthread_mutex_timedlock()
406 if ((mutex->stAttr.type == PTHREAD_MUTEX_ERRORCHECK) && in pthread_mutex_lock()
441 if ((mutex->stAttr.type != PTHREAD_MUTEX_RECURSIVE) && (muxPended->muxCount != 0)) { in pthread_mutex_trylock()
Dpthread_cond.c278 … if ((mutex->stAttr.type == PTHREAD_MUTEX_ERRORCHECK) && (g_losTask.runTask != muxPosted->owner)) { in pthread_cond_timedwait()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
D_pthreadtypes.h81 typedef struct { unsigned int magic; unsigned int handle; pthread_mutexattr_t stAttr;} pthread_mute… member