This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to decide on my record locking technique and the "hand-over-hand locking" method presented in Monkhouse's book seems to fully fulfill word for word my following assignment requirement:
"If the specified record is already locked, the current thread gives up the CPU and consumes no CPU cycles until the record is unlocked."
Do any of you know whether there would be another way to fulfill this requirement? I am just a bit worried that this technique might be considered too complex for a junior developer to understand. Anyone out there used this famous "hand-over-hand" locking method and obtained the magical 80/80 score?