Searched refs:print_phil_state (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/ |
D | main.c | 98 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() function 162 print_phil_state(my_id, " STARVING ", 0); in philosopher() 164 print_phil_state(my_id, " HOLDING ONE FORK ", 0); in philosopher() 168 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 172 print_phil_state(my_id, " DROPPED ONE FORK ", 0); in philosopher() 176 print_phil_state(my_id, " THINKING [ %s%d ms ] ", delay); in philosopher()
|
/Zephyr-Core-3.5.0/samples/philosophers/src/ |
D | main.c | 100 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() function 162 print_phil_state(my_id, " STARVING ", 0); in philosopher() 164 print_phil_state(my_id, " HOLDING ONE FORK ", 0); in philosopher() 168 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 172 print_phil_state(my_id, " DROPPED ONE FORK ", 0); in philosopher() 176 print_phil_state(my_id, " THINKING [ %s%d ms ] ", delay); in philosopher()
|
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | main.c | 128 static void print_phil_state(int id, const char *fmt, int32_t delay) in print_phil_state() function 187 print_phil_state(my_id, " STARVING ", 0); in philosopher() 189 print_phil_state(my_id, " HOLDING ONE FORK ", 0); in philosopher() 193 print_phil_state(my_id, " EATING [ %s%d ms ] ", delay); in philosopher() 197 print_phil_state(my_id, " DROPPED ONE FORK ", 0); in philosopher() 201 print_phil_state(my_id, " THINKING [ %s%d ms ] ", delay); in philosopher()
|