| 854 | static atomic_flag g_application_tmp_lock = ATOMIC_FLAG_INIT; |
| 855 | |
| 856 | static void application_tmp_lock(void) { |
| 857 | while (atomic_flag_test_and_set_explicit(&g_application_tmp_lock, memory_order_acquire)) { |
| 858 | cbm_usleep(1000); |
| 859 | } |
| 860 | } |
| 861 | |
| 862 | static void application_tmp_unlock(void) { |
| 863 | atomic_flag_clear_explicit(&g_application_tmp_lock, memory_order_release); |
no outgoing calls
no test coverage detected