Home
last modified time | relevance | path

Searched refs:g_test_value (Results 1 - 1 of 1) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/mutex_demo/
H A Dmutex.c30 static int g_test_value = 0; variable
37 g_test_value++; in number_thread()
38 if (g_test_value % NUMS == 0) { in number_thread()
39 printf("[Mutex Test]%s gets an even value %d.\r\n", osThreadGetName(osThreadGetId()), g_test_value); in number_thread()
41 printf("[Mutex Test]%s gets an odd value %d.\r\n", osThreadGetName(osThreadGetId()), g_test_value); in number_thread()

Completed in 1 milliseconds