Gilad Ben-Yossef wrote: > > I think the real program is that the test program was meanigless to > begin with. The situation it creates is equel to a single threaded > for() loop - zero parralelism outside the critical section. Ok, here's the important question, then.
Supposing the program did a 0.1 second sleep inside the mutex, and a 0.9 sleep outside. Now suppose that we have more than 10 threads (i.e. - we are still fighting over a shared resource of which we have too little). Let's say we have 30 threads. Under these conditions, is the mutex fair? Shachar ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]