Searched refs:forks (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/samples/posix/philosophers/src/ |
D | main.c | 35 static pthread_mutex_t forks[NUM_PHIL]; variable 52 return &forks[idx]; in fork() 205 ARRAY_FOR_EACH(forks, i) { in init_objects() 218 ARRAY_FOR_EACH(forks, i) { in start_threads()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | main.c | 66 osSemaphoreId_t forks[NUM_PHIL]; variable 68 #define fork(x) (forks[x]) 219 forks[i] = fork_init(i); in init_objects()
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/ |
D | README.rst | 16 done, he will give back the forks in the reverse order (f2 then f1). If he 17 gets two forks, he is EATING. Otherwise, he is THINKING. Transitional states 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 | 16 done, he will give back the forks in the reverse order (f2 then f1). If he 17 gets two forks, he is EATING. Otherwise, he is THINKING. Transitional states 19 forks are not available, and HOLDING ONE FORK when a philosopher is waiting
|
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/ |
D | main.c | 70 osSemaphoreId forks[NUM_PHIL]; variable 72 #define fork(x) (forks[x])
|
/Zephyr-latest/samples/philosophers/ |
D | README.rst | 16 back the forks in the reverse order (f2 then f1). If he gets two forks, he is ``EATING``. 18 philosopher is hungry but the forks are not available, and ``HOLDING ONE FORK`` when a philosopher
|
/Zephyr-latest/samples/philosophers/src/ |
D | main.c | 90 #define fork(x) (forks[x])
|
D | phil_obj_abstract.h | 149 static fork_t forks[NUM_PHIL] = { variable
|
/Zephyr-latest/doc/contribute/ |
D | bin_blobs.rst | 18 the support for binary blobs in forks or third-party distributions of Zephyr. In
|
/Zephyr-latest/doc/build/ |
D | zephyr_cmake_package.rst | 49 Zephyr freestanding applications, Zephyr workspace application with vendor forks, etc..
|
/Zephyr-latest/doc/develop/west/ |
D | manifest.rst | 1633 repositories in your west workspace from a developer's forks instead of your
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.4.rst | 1631 * :github:`24221` - Do not run cron workflow on forks
|