Lines Matching refs:pxMutex
759 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueGiveMutexRecursive() local
763 configASSERT( pxMutex ); in xQueueGiveMutexRecursive()
771 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueGiveMutexRecursive()
773 traceGIVE_MUTEX_RECURSIVE( pxMutex ); in xQueueGiveMutexRecursive()
780 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )--; in xQueueGiveMutexRecursive()
783 if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 ) in xQueueGiveMutexRecursive()
787 … ( void ) xQueueGenericSend( pxMutex, NULL, queueMUTEX_GIVE_BLOCK_TIME, queueSEND_TO_BACK ); in xQueueGiveMutexRecursive()
802 traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ); in xQueueGiveMutexRecursive()
819 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueTakeMutexRecursive() local
823 configASSERT( pxMutex ); in xQueueTakeMutexRecursive()
828 traceTAKE_MUTEX_RECURSIVE( pxMutex ); in xQueueTakeMutexRecursive()
830 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueTakeMutexRecursive()
832 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )++; in xQueueTakeMutexRecursive()
837 xReturn = xQueueSemaphoreTake( pxMutex, xTicksToWait ); in xQueueTakeMutexRecursive()
844 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )++; in xQueueTakeMutexRecursive()
848 traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex ); in xQueueTakeMutexRecursive()