This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I tested LockManager by creating 60 threads that try to lock and unlock the same record concurrently. Are there any other suggestions on how to test this?
Have these 60 threads to modify the same record in a loop, -- say each thread books a flight 20 times in a row. At the end of the test, the seat count should be reduced by exactly 1200. You may also want to put an artifical sleep() in both lock() and unlock() to amplify the problem, if any. Eugene. [ January 18, 2003: Message edited by: Eugene Kononov ]