Skip to content

Implementation of the Dining Philosophers problem in C

Notifications You must be signed in to change notification settings

Archer-01/Philosophers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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