Home
last modified time | relevance | path

Searched refs:forks (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c35 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/
Dmain.c66 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/
DREADME.rst16 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/
DREADME.rst16 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/
Dmain.c70 osSemaphoreId forks[NUM_PHIL]; variable
72 #define fork(x) (forks[x])
/Zephyr-latest/samples/philosophers/
DREADME.rst16 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/
Dmain.c90 #define fork(x) (forks[x])
Dphil_obj_abstract.h149 static fork_t forks[NUM_PHIL] = { variable
/Zephyr-latest/doc/contribute/
Dbin_blobs.rst18 the support for binary blobs in forks or third-party distributions of Zephyr. In
/Zephyr-latest/doc/build/
Dzephyr_cmake_package.rst49 Zephyr freestanding applications, Zephyr workspace application with vendor forks, etc..
/Zephyr-latest/doc/develop/west/
Dmanifest.rst1633 repositories in your west workspace from a developer's forks instead of your
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst1631 * :github:`24221` - Do not run cron workflow on forks