Name: ________________________________

 

CS 1550 – Project 2

 

 

Pthreads

 

Threads are created and managed appropriately

______________ / 10

 

Car Production

 

Northbound cars

______________ / 5

Southbound cars

______________ / 5

Arrival rate

______________ / 10

Does not overflow respective queue

______________ / 10

 

Flagperson

 

Falls Asleep

______________ / 10

Is Woken Up

______________ / 10

Switches sides when 10 cars are queued

______________ / 10

 

Deadlock Avoidance

 

Producer/Consumer of cars is deadlock free

______________ / 10

Flagperson is deadlock free

______________ / 10

Uses synchronization rather than strict alternation

______________ / 10

 

Total:

 

______________ / 100

Notes: