Home
last modified time | relevance | path

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

/Zephyr-latest/kernel/
Dsmp.c61 if (!_current->base.global_lock_count) { in z_smp_global_lock()
67 _current->base.global_lock_count++; in z_smp_global_lock()
74 if (_current->base.global_lock_count != 0U) { in z_smp_global_unlock()
75 _current->base.global_lock_count--; in z_smp_global_unlock()
77 if (!_current->base.global_lock_count) { in z_smp_global_unlock()
88 if (!thread->base.global_lock_count) { in z_smp_release_global_lock()
/Zephyr-latest/tests/kernel/smp/src/
Dmain.c873 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
875 _current->base.global_lock_count); in t2_mutex_lock()
879 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
881 _current->base.global_lock_count); in t2_mutex_lock()
889 zassert_equal(_current->base.global_lock_count, 0, in t2_mutex_lock()
891 _current->base.global_lock_count); in t2_mutex_lock()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h120 uint8_t global_lock_count; member