This week's giveaway is in the Testing forum. We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line! See this thread for details.
I don't think so,when the main call wait on b then it's will give up the lock and so ThreadB it's self can accquire a lock(in the case main get a lock first)