Searched refs:fork2 (Results 1 – 3 of 3) sorted by relevance
146 fork_t fork2; in philosopher() local153 fork2 = fork(my_id); in philosopher()156 fork2 = fork(my_id + 1); in philosopher()165 take(fork2); in philosopher()171 drop(fork2); in philosopher()
171 fork_t fork2; in philosopher() local178 fork2 = fork(my_id); in philosopher()181 fork2 = fork(my_id + 1); in philosopher()190 take(fork2); in philosopher()196 drop(fork2); in philosopher()
47 K_SEM_DEFINE(fork2, 1, 1);63 K_MUTEX_DEFINE(fork2);151 &fork0, &fork1, &fork2,