This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FBNS: with lock and unlock no need to synchronize

Ian Wark
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am looking at Mr. Habibe's coauthored book and the locking mechanism...

A lot has been said about this. So I'll be brief. If I follow the "one database instance per client" and use a locking mechanism that synchronizes on a static collection variable that keeps track of which records are locked, am I safe without ANY synchronized methods in

I am only locking the write operations, and I am using RMI.
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic