Searched refs:pxMutex (Results 1 – 4 of 4) sorted by relevance
61 sys_mutex_new(sys_mutex_t *pxMutex) in sys_mutex_new() argument63 *pxMutex = xSemaphoreCreateMutex(); in sys_mutex_new()64 if (*pxMutex == NULL) { in sys_mutex_new()69 LWIP_DEBUGF(ESP_THREAD_SAFE_DEBUG, ("sys_mutex_new: m=%p\n", *pxMutex)); in sys_mutex_new()80 sys_mutex_lock(sys_mutex_t *pxMutex) in sys_mutex_lock() argument82 BaseType_t ret = xSemaphoreTake(*pxMutex, portMAX_DELAY); in sys_mutex_lock()93 sys_mutex_unlock(sys_mutex_t *pxMutex) in sys_mutex_unlock() argument95 BaseType_t ret = xSemaphoreGive(*pxMutex); in sys_mutex_unlock()106 sys_mutex_free(sys_mutex_t *pxMutex) in sys_mutex_free() argument108 LWIP_DEBUGF(ESP_THREAD_SAFE_DEBUG, ("sys_mutex_free: m=%p\n", *pxMutex)); in sys_mutex_free()[all …]
611 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueGiveMutexRecursive() local613 configASSERT( pxMutex ); in xQueueGiveMutexRecursive()621 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueGiveMutexRecursive()623 traceGIVE_MUTEX_RECURSIVE( pxMutex ); in xQueueGiveMutexRecursive()630 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )--; in xQueueGiveMutexRecursive()633 if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 ) in xQueueGiveMutexRecursive()637 ( void ) xQueueGenericSend( pxMutex, NULL, queueMUTEX_GIVE_BLOCK_TIME, queueSEND_TO_BACK ); in xQueueGiveMutexRecursive()648 traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ); in xQueueGiveMutexRecursive()662 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueTakeMutexRecursive() local664 configASSERT( pxMutex ); in xQueueTakeMutexRecursive()[all …]
323 err_t sys_mutex_trylock(sys_mutex_t *pxMutex) in sys_mutex_trylock() argument327 ret = rtos_trylock_mutex(pxMutex); in sys_mutex_trylock()
434 #define traceGIVE_MUTEX_RECURSIVE( pxMutex ) argument438 #define traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ) argument442 #define traceTAKE_MUTEX_RECURSIVE( pxMutex ) argument446 #define traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex ) argument