Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 811 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 811 Bytes

42Philosophers

In this project, you will learn the basics of threading a process. You will see how to create threads and you will discover mutexes.

Installation

Running

  • make

  • Run program with ./philo arg1 arg2 arg3 arg4 arg5

      arg1: number_of_philosophers 
      arg2: time_to_die
      arg3: time_to_eat
      arg4: time_to_sleep
      arg5: number_of_times_each_philosopher_must_eat (optional)
    

Links