Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp)

...

Ensure that a thread that holds locks on other objects releases them appropriately, before entering the wait state. Additional guidance on waiting and notification in available in THI03-J. Always invoke wait() and await() methods inside a loop and CON23THI04-J. Notify all waiting threads instead of a single thread.

...