/Philosophers

Implementation of the Dining Philosophers problem in C

Primary LanguageC

Philosophers

Philosophers is an implementation of the Dining Philosophers synchronization problem via multi-threading (Using the pthread API)

Philosophers (threads activity)

Philosophers (threads) activity

Main thread activity

Philosopher reaper (main thread) activity

Usage

make
./philo philo_num death_time eat_time sleep_time [min_eat_count]

forthebadge