Home
last modified time | relevance | path

Searched refs:xMutex (Results 1 – 1 of 1) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/libslirp/
DMBuffNetifBackendLibslirp.c112 Mutex_t xMutex; member
292 pxCtx->xMutex = CreateMutex( NULL, FALSE, NULL ); in vMBuffNetifBackendInit()
293 configASSERT( pxCtx->xMutex != ( Mutex_t ) NULL ); in vMBuffNetifBackendInit()
304 lRslt = pthread_mutex_init( &( pxCtx->xMutex ), NULL ); in vMBuffNetifBackendInit()
337 lRslt = WaitForSingleObject( pxCtx->xMutex, INFINITE ); in vLockSlirpContext()
340 lRslt = pthread_mutex_lock( &( pxCtx->xMutex ) ); in vLockSlirpContext()
354 lRslt = ( int ) ReleaseMutex( pxCtx->xMutex ); in vUnlockSlirpContext()
357 lRslt = pthread_mutex_unlock( &( pxCtx->xMutex ) ); in vUnlockSlirpContext()
388 ( void ) CloseHandle( pxCtx->xMutex ); in vMBuffNetifBackendDeInit()
390 ( void ) pthread_mutex_destroy( &( pxCtx->xMutex ) ); in vMBuffNetifBackendDeInit()