Searched refs:rwlock (Results 1 – 5 of 5) sorted by relevance
138 #define PARAMSPACE_AREA_INIT_LOCK(workspace) ParamRWMutexCreate(&workspace->rwlock)139 #define PARAMSPACE_AREA_RW_LOCK(workspace) ParamRWMutexWRLock(&workspace->rwlock)140 #define PARAMSPACE_AREA_RD_LOCK(workspace) ParamRWMutexRDLock(&workspace->rwlock)141 #define PARAMSPACE_AREA_RW_UNLOCK(workspace) ParamRWMutexUnlock(&workspace->rwlock)143 #define PARAMSPACE_AREA_INIT_LOCK(rwlock) (void)(rwlock) argument144 #define PARAMSPACE_AREA_RW_LOCK(rwlock) (void)(rwlock) argument145 #define PARAMSPACE_AREA_RD_LOCK(rwlock) (void)(rwlock) argument146 #define PARAMSPACE_AREA_RW_UNLOCK(rwlock) (void)(rwlock) argument
34 pthread_rwlock_t rwlock; member111 ParamRWMutex rwlock; member
33 pthread_rwlock_init(&lock->rwlock, &rwlockatt); in ParamRWMutexCreate()40 pthread_rwlock_wrlock(&lock->rwlock); in ParamRWMutexWRLock()46 pthread_rwlock_rdlock(&lock->rwlock); in ParamRWMutexRDLock()52 pthread_rwlock_unlock(&lock->rwlock); in ParamRWMutexUnlock()59 int ret = pthread_rwlock_destroy(&lock->rwlock); in ParamRWMutexDelete()
152 pthread_rwlock_init(&lock->rwlock, &rwlockatt); in ParamRWMutexCreate()159 pthread_rwlock_wrlock(&lock->rwlock); in ParamRWMutexWRLock()165 pthread_rwlock_rdlock(&lock->rwlock); in ParamRWMutexRDLock()171 pthread_rwlock_unlock(&lock->rwlock); in ParamRWMutexUnlock()178 uint32_t ret = pthread_rwlock_destroy(&lock->rwlock); in ParamRWMutexDelete()
111 ParamRWMutexDelete(&workSpace->rwlock); in CloseWorkSpace()