Bob,
Thanks!!
I see from your signature you have have passed. Congratulations!
If SUN did not force you to make clients to wait on locks they aready have, I should be ok. It's a relief to hear from someone who has passed. I plan to upload in a couple weeks so I am getting nervous.
Congratulations and have a great summer!
Karen
P.S. Can you send some Brasilian sun to the Netherlands. It's cold here.
-----------------
From Jeffry Kristianto Yanuar
The word "the CPU must give up the CPU and consumes no CPU cycle" means that the client thread must wait undefinitely until the other client release the lock.
Jeffry,
I do make clients wait if "a different client" has locked the record.
It's only when the same client already has the lock that I return successfully. I don't make them wait on a lock they already have.
My instructions say "wait if locked" (not "wait if locked by other client) so I was unsure if SUN's instructions force me to make a client wait on a lock it already has.
I hope you get your results quickly and they are good!
GOOD LUCK!
Karen