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

B&S Locking Stategy Satisfactory?

Johnny Hastings
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings all. I've been reading over several other posts around here on this subject, and I thought I'd go ahead and make one of my own. Below is pseudocode for my B&S locking strategy. I've been looking/thinking over this for a week and a half now, and have probably changed it well over 100 times. The first method below is from my file, as spec'ed by Sun, and the others are from my lockhandler class. Does anyone see any obvious holes in this? Does it seem like it will fulfill the objective? I'm new to this threads thing, being mostly a web developer, these are problems I usually let the servlets handle!

[ May 10, 2006: Message edited by: Johnny Hastings ]
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic