• Post Reply Bookmark Topic Watch Topic
  • New Topic

Synchronization Question  RSS feed

 
Tom Stevens
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm going through the J2EE tutorial, and I have a question regarding BookDBAO: if the releaseConnection method was to be called out of order (conFree is true), wouldn't the method block until the next invocation of the getConnection method completes, then set the conFree variable to true, even though another thread is using it?
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please give the url of the example you are referring to?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!