Searched refs:_MsOS_Semaphore_Mutex (Results 1 – 6 of 6) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/msos/msos/ucos/ |
| H A D | MsOS_ucos.c | 259 static OS_EVENT* _MsOS_Semaphore_Mutex; variable 480 _MsOS_Semaphore_Mutex = OSSemCreate(1); in MsOS_Init() 1566 OSSemPend(_MsOS_Semaphore_Mutex, 0, &u8Err); in MsOS_CreateSemaphore() 1578 OSSemPost(_MsOS_Semaphore_Mutex); in MsOS_CreateSemaphore() 1592 OSSemPend(_MsOS_Semaphore_Mutex, 0, &u8Err); in MsOS_CreateSemaphore() 1594 OSSemPost(_MsOS_Semaphore_Mutex); in MsOS_CreateSemaphore() 1630 OSSemPend(_MsOS_Semaphore_Mutex, 0, &u8Err); in MsOS_DeleteSemaphore() 1632 OSSemPost(_MsOS_Semaphore_Mutex); in MsOS_DeleteSemaphore()
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux/ |
| H A D | MsOS_linux.c | 413 static pthread_mutex_t _MsOS_Semaphore_Mutex; variable 653 PTH_RET_CHK(pthread_mutex_init(&_MsOS_Semaphore_Mutex, &_MsOS_Mutex_Attr)); in MsOS_Init() 654 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Semaphore_Mutex)); in MsOS_Init() 659 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Semaphore_Mutex)); in MsOS_Init() 1990 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Semaphore_Mutex)); in MsOS_CreateSemaphore() 2002 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Semaphore_Mutex)); in MsOS_CreateSemaphore() 2044 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Semaphore_Mutex)); in MsOS_DeleteSemaphore() 2046 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Semaphore_Mutex)); in MsOS_DeleteSemaphore()
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/ecos/ |
| H A D | MsOS_ecos.c | 278 static cyg_mutex_t _MsOS_Semaphore_Mutex; variable 461 cyg_mutex_init(&_MsOS_Semaphore_Mutex); in MsOS_Init() 1586 cyg_mutex_lock(&_MsOS_Semaphore_Mutex); in MsOS_CreateSemaphore() 1598 cyg_mutex_unlock(&_MsOS_Semaphore_Mutex); in MsOS_CreateSemaphore() 1636 cyg_mutex_lock(&_MsOS_Semaphore_Mutex); in MsOS_DeleteSemaphore() 1638 cyg_mutex_unlock(&_MsOS_Semaphore_Mutex); in MsOS_DeleteSemaphore()
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/ |
| H A D | MsOS_linux_kernel.c | 362 static pthread_mutex_t _MsOS_Semaphore_Mutex; 1356 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Semaphore_Mutex)); 1368 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Semaphore_Mutex)); 1402 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Semaphore_Mutex)); 1404 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Semaphore_Mutex));
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/ |
| H A D | MsOS_nuttx.c | 269 static pthread_mutex_t _MsOS_Semaphore_Mutex; variable 270 #define MUTEX_SEMEPHORE_LOCK() pthread_mutex_lock(&_MsOS_Semaphore_Mutex) 271 #define MUTEX_SEMEPHORE_UNLOCK() pthread_mutex_unlock(&_MsOS_Semaphore_Mutex) 440 pthread_mutex_init(&_MsOS_Semaphore_Mutex, &_MsOS_Mutex_Attr); in MsOS_Init()
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/ |
| H A D | MsOS_linux_kernel.c | 303 static DEFINE_SPINLOCK(_MsOS_Semaphore_Mutex); 304 #define SEMA_MUTEX_LOCK(flags) spin_lock_irqsave(&_MsOS_Semaphore_Mutex, flags) 305 #define SEMA_MUTEX_UNLOCK(flags) spin_unlock_irqrestore(&_MsOS_Semaphore_Mutex, flags)
|