Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 483 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 483 Bytes

Santa Claus problem

Synchronization problem inspired by book: Allen B. Downey - The Little Book of Semaphores

Multi-process programming in C language with synchronization using Semaphores.

Installation

Type 'make' in terminal.

Run

./proj2 NE NR TE TR

  • NE: number of elfs.
  • NR: number of reindeer.
  • TE: max work time for elf in miliseconds. 0<=TE<=1000.
  • TR: max holiday time for reideer in miliseconds 0<=RE<=1000

Every parameter is a whole non-negative number.