Searched refs:synchHandle (Results 1 – 1 of 1) sorted by relevance
110 static bool MacSyncFunction( void * synchHandle,536 static bool MacSyncFunction( void * synchHandle, in MacSyncFunction() argument542 vSemaphoreCreateBinary( *( SemaphoreHandle_t * ) synchHandle ); in MacSyncFunction()544 return ( *( SemaphoreHandle_t * ) synchHandle == NULL ) ? false : true; in MacSyncFunction()547 vSemaphoreDelete( *( SemaphoreHandle_t * ) synchHandle ); in MacSyncFunction()548 *( SemaphoreHandle_t * ) synchHandle = NULL; in MacSyncFunction()554 …return ( xSemaphoreTake( *( SemaphoreHandle_t * ) synchHandle, portMAX_DELAY ) == pdTRUE ) ? true … in MacSyncFunction()558 … return ( xSemaphoreGive( *( SemaphoreHandle_t * ) synchHandle ) == pdTRUE ) ? true : false; in MacSyncFunction()