Open main menu

lensowiki β

Changes

Computer Science/162/proj1

4 bytes removed, 23:43, 4 October 2008
Testing
The latter two tests were run with up to 500 threads of speakers and listeners each (with a temporary override on the number of max threads in Nachos) and the number of listen and speak operations was analyzed via script. The speakers and listeners would print statements while executing code, which allowed us to perform this analysis.
speak(int word) {
Acquire the lock;
while (There is an active speaker) {
Anonymous user