Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Assignment 3 Part 2

TA marking system using shared memory

Files

  • ta_marker_a_101270837_101292844.cpp - part 2a (no semaphores)
  • ta_marker_b_101270837_101292844.cpp - part 2b (with semaphores)
  • rubric.txt - the rubric
  • exams/ - exam files

Compiling

make

Running

Part 2a:

./ta_marker_a 3

Part 2b:

./ta_marker_b 3

number is how many TAs

Clean

make clean

How it works

Part 2a - TAs share memory for rubric and exams, no sync so race conditions happen

Part 2b - semaphores added to fix race conditions

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages