Project #128 on iSENSEProject.org
Given a shared ring buffer with 1 producer and 5 consumers, alter the size of the shared data queue to try to find a 50% deadlock rate on the consumers. Each deadlock percentage was found by running a shell script that executes 1 producer and 5 consumers, determines if a deadlock occurred or not, and repeats the process 20 times before receiving an average.
For the University of Massachusetts Lowell 91.308 Operation Systems course.
Name | Units | Type of Data |
---|---|---|
Queue Size
|
#
|
Number
|
Deadlock
|
%
|
Number
|
Queue Size | Deadlock |