Searched refs:fork_t (Results 1 – 7 of 7) sorted by relevance
43 #define fork_t struct k_sem * macro59 #define fork_t struct k_mutex * macro75 #define fork_t struct k_stack * macro95 #define fork_t struct k_fifo * macro117 #define fork_t struct k_lifo * macro149 static fork_t forks[NUM_PHIL] = {154 (fork_t)&fork_objs[0], (fork_t)&fork_objs[1], (fork_t)&fork_objs[2],155 (fork_t)&fork_objs[3], (fork_t)&fork_objs[4], (fork_t)&fork_objs[5],
145 fork_t my_fork1; in philosopher()146 fork_t my_fork2; in philosopher()
31 typedef pthread_mutex_t *fork_t; typedef38 static inline void fork_init(fork_t frk) in fork_init()50 static inline fork_t fork(size_t idx) in fork()55 static inline void take(fork_t frk) in take()67 static inline void drop(fork_t frk) in drop()144 fork_t my_fork1; in philosopher()145 fork_t my_fork2; in philosopher()
45 #define fork_t osSemaphoreId macro59 #define fork_t osMutexId macro
145 fork_t fork1; in philosopher()146 fork_t fork2; in philosopher()
49 #define fork_t osSemaphoreId_t macro65 #define fork_t osMutexAttr_t macro
170 fork_t fork1; in philosopher()171 fork_t fork2; in philosopher()