Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 606 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 606 Bytes

How Make file works:

open terminal at the folder in which main.c resides. run "make" command with desired arguments.

Arguments: use N for number of commentators, P for probability of answering, Q for number of questions, T for speaking time, B for breaking news probability.

Sample run: make N=3 P=0.8 Q=5 T=3 B=0.01

Default parameters are: N=4, P=0.75 Q=5 T=3 B=0.05.


Project

In this project, you will get more familiar with the concepts of scheduling, synchronisation, multithreading and deadlock prevention in operating systems by using POSIX Threads (pthreads) API.

--