Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/libslirp/
DMBuffNetifBackendLibslirp.c112 Mutex_t xMutex; member
279 pxCtx->xMutex = CreateMutex( NULL, FALSE, NULL ); in vMBuffNetifBackendInit()
280 configASSERT( pxCtx->xMutex != ( Mutex_t ) NULL ); in vMBuffNetifBackendInit()
291 lRslt = pthread_mutex_init( &( pxCtx->xMutex ), NULL ); in vMBuffNetifBackendInit()
324 lRslt = WaitForSingleObject( pxCtx->xMutex, INFINITE ); in vLockSlirpContext()
327 lRslt = pthread_mutex_lock( &( pxCtx->xMutex ) ); in vLockSlirpContext()
341 lRslt = ( int ) ReleaseMutex( pxCtx->xMutex ); in vUnlockSlirpContext()
344 lRslt = pthread_mutex_unlock( &( pxCtx->xMutex ) ); in vUnlockSlirpContext()
375 ( void ) CloseHandle( pxCtx->xMutex ); in vMBuffNetifBackendDeInit()
377 ( void ) pthread_mutex_destroy( &( pxCtx->xMutex ) ); in vMBuffNetifBackendDeInit()