Searched refs:philosopher (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/ |
D | main.c | 143 void philosopher(void const *id) in philosopher() function 182 osThreadDef(philosopher, osPriorityLow, 6, STACK_SIZE); 199 id = osThreadCreate(osThread(philosopher), INT_TO_POINTER(i)); in start_threads()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/ |
D | README.rst | 15 The philosopher always tries to get the lowest fork first (f1 then f2). When 18 are shown as well, such as STARVING when the philosopher is hungry but the 19 forks are not available, and HOLDING ONE FORK when a philosopher is waiting
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/ |
D | README.rst | 15 The philosopher always tries to get the lowest fork first (f1 then f2). When 18 are shown as well, such as STARVING when the philosopher is hungry but the 19 forks are not available, and HOLDING ONE FORK when a philosopher is waiting
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | main.c | 168 void philosopher(void *id) in philosopher() function 228 osThreadNew(philosopher, INT_TO_POINTER(i), &thread_attr[i]); in start_threads()
|
/Zephyr-latest/samples/philosophers/src/ |
D | main.c | 140 void philosopher(void *id, void *unused1, void *unused2) in philosopher() function 220 philosopher, INT_TO_POINTER(i), NULL, NULL, in start_threads()
|
/Zephyr-latest/samples/posix/philosophers/src/ |
D | main.c | 142 static void *philosopher(void *arg) in philosopher() function 220 ret = pthread_create(&threads[i], NULL, philosopher, INT_TO_POINTER(i)); in start_threads()
|
/Zephyr-latest/samples/philosophers/ |
D | README.rst | 15 The philosopher always tries to get the lowest fork first (f1 then f2). When done, he will give 18 philosopher is hungry but the forks are not available, and ``HOLDING ONE FORK`` when a philosopher 39 In these cases, the philosopher threads will run with priorities 0 to 5 (preempt-only) and -7 to -2
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.7.rst | 1169 * :github:`38405` - samples/philosophers/sample.kernel.philosopher.stacks fails on xtensa
|