Home
last modified time | relevance | path

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

/mbedtls-latest/tests/src/
Dthreading_helpers.c141 int (*lock)(mbedtls_threading_mutex_t *); member
206 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_init()
218 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_free()
248 int ret = mutex_functions.lock(mutex); in mbedtls_test_wrap_mutex_lock()
251 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_lock()
282 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_wrap_mutex_unlock()
308 mutex_functions.lock = mbedtls_mutex_lock; in mbedtls_test_mutex_usage_init()
320 if (mutex_functions.lock(&mbedtls_test_mutex_mutex) == 0) { in mbedtls_test_mutex_usage_check()
346 mbedtls_mutex_lock = mutex_functions.lock; in mbedtls_test_mutex_usage_end()
/mbedtls-latest/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md123 …unctions which have internal mutex locks and unlocks (except for when the lock/unlock occurs in a …
148 A deadlock would occur if a thread attempts to lock a mutex while already holding it. Functions whi…
186 …register_read_under_mutex` which wraps a call to `psa_unregister_read` in a mutex lock/unlock pair.
198 If a lock or unlock operation fails and this is the first failure within a function, the function w…
213 …nto the reserved slot. This entire sequence is done during a single mutex lock, which is necessary…
339 …t one entry point active at any given time. In other words, each driver has its own exclusive lock.
/mbedtls-latest/docs/architecture/
Dpsa-keystore-design.md53 …ey slot is protected by a reader-writer lock. (In earlier versions, the key store was not thread-s…