Searched refs:mutex (Results 1 – 4 of 4) sorted by relevance
37 pthread_mutex_t mutex; member55 pthread_mutex_init( &ev->mutex, &ev->mutexattr ); in event_create()65 pthread_mutex_destroy( &ev->mutex ); in event_delete()74 if( pthread_mutex_lock( &ev->mutex ) == EOWNERDEAD ) in event_wait()78 pthread_mutex_consistent( &ev->mutex ); in event_wait()84 pthread_cond_wait( &ev->cond, &ev->mutex ); in event_wait()88 pthread_mutex_unlock( &ev->mutex ); in event_wait()106 pthread_mutex_consistent( &ev->mutex ); in event_wait_timed()121 pthread_mutex_unlock( &ev->mutex ); in event_wait_timed()132 pthread_mutex_consistent( &ev->mutex ); in event_signal()[all …]
220 void _mwmutex_lock( _lock_t mutex ) in _mwmutex_lock() argument222 if( ( mutex ) != NULL ) in _mwmutex_lock()224 while( xSemaphoreTakeRecursive( mutex, portMAX_DELAY ) != pdTRUE ) in _mwmutex_lock()230 void _mwmutex_unlock( _lock_t mutex ) in _mwmutex_unlock() argument232 if( ( mutex ) != NULL ) in _mwmutex_unlock()234 xSemaphoreGiveRecursive( mutex ); in _mwmutex_unlock()
18 The implementation of APIs which are defined in `/interface/include/os_wrapper/mutex.h`20 FreeRTOS mutex type semaphore.
26 - Set PTHREAD_MUTEX_ROBUST attribute on the mutex to prevent application27 hangs when a thread dies while holding a mutex.561 are protected with a mutex. Contributed by @clemenskresser.1022 timed out before it was able to obtain the mutex (causing the task that1023 holds the mutex to have its priority raised, then lowered again, in1405 give a mutex type semaphore (with priority inheritance) from an interrupt1792 + Minor change to allow mutex type semaphores to be used from interrupts1793 (which would not be a normal usage model for a mutex).1997 type, which can be base, mutex, counting semaphore, binary semaphore1998 or recursive mutex.[all …]
Completed in 11 milliseconds