Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 563 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 563 Bytes

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