Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ariak
  • Order by date
  1. ariak

    Returning in the Middle of Synchronized Block

    Excellent, that tiny premise probably saved me from redesigning my code. Thank you.
  2. ariak

    Returning in the Middle of Synchronized Block

    Hi, What would happen if the code returns in the middle of the synchronized block? Does the lock for the object be released? i.e. synchronized (obj) { if (/* condition */) { return; } // Other stuff }

Part and Inventory Search

Back
Top