Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/common/pico_sync/include/pico/
Dlock_core.h74 #ifndef lock_owner_id_t
81 #define lock_owner_id_t int8_t macro
88 #define LOCK_INVALID_OWNER_ID ((lock_owner_id_t)-1)
97 #define lock_get_caller_owner_id() ((lock_owner_id_t)get_core_num())
Dmutex.h49 lock_owner_id_t owner; //! owner id LOCK_INVALID_OWNER_ID for unowned
62 lock_owner_id_t owner; //! owner id LOCK_INVALID_OWNER_ID for unowned
/hal_rpi_pico-latest/src/common/pico_sync/
Dmutex.c69 lock_owner_id_t caller = lock_get_caller_owner_id(); in __time_critical_func()
82 lock_owner_id_t caller = lock_get_caller_owner_id(); in __time_critical_func()
118 static_assert(sizeof(lock_owner_id_t) <= 4, ""); in __time_critical_func()
121 …if ((lock_owner_id_t)owner == lock_get_caller_owner_id()) return false; // deadlock, so we can nev… in __time_critical_func()
129 lock_owner_id_t caller = lock_get_caller_owner_id(); in __time_critical_func()
167 lock_owner_id_t caller = lock_get_caller_owner_id(); in __time_critical_func()
186 lock_owner_id_t caller = lock_get_caller_owner_id(); in __time_critical_func()
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/
Dasync_context_threadsafe_background.c40 static inline lock_owner_id_t recursive_mutex_owner(recursive_mutex_t *mutex) { in recursive_mutex_owner()