Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 367 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 367 Bytes

Proportional Share Scheduling

Code from OSTEP chapter Scheduling: Proportional Share.

Compile with:

prompt> gcc -o lottery lottery.c -Wall

Run like this:

./lottery 1 100

which uses random seed '1' to run a little lottery 100 different times.

Read the source code for details.