Home
last modified time | relevance | path

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

/FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix/utils/
A Dwait_for_event.c37 pthread_mutex_t mutex; member
55 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 …]
/FreeRTOS-Kernel/portable/ThirdParty/GCC/ARC_EM_HS/
A Dfreertos_tls.c220 void _mwmutex_lock( _lock_t mutex ) in _mwmutex_lock() argument
222 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() argument
232 if( ( mutex ) != NULL ) in _mwmutex_unlock()
234 xSemaphoreGiveRecursive( mutex ); in _mwmutex_unlock()
/FreeRTOS-Kernel/portable/ThirdParty/GCC/ARM_TFM/
A DREADME.md18 The implementation of APIs which are defined in `/interface/include/os_wrapper/mutex.h`
20 FreeRTOS mutex type semaphore.
/FreeRTOS-Kernel/
A DHistory.txt26 - Set PTHREAD_MUTEX_ROBUST attribute on the mutex to prevent application
27 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 that
1023 holds the mutex to have its priority raised, then lowered again, in
1405 give a mutex type semaphore (with priority inheritance) from an interrupt
1792 + Minor change to allow mutex type semaphores to be used from interrupts
1793 (which would not be a normal usage model for a mutex).
1997 type, which can be base, mutex, counting semaphore, binary semaphore
1998 or recursive mutex.
[all …]

Completed in 11 milliseconds