• Post Reply Bookmark Topic Watch Topic
  • New Topic

incomplete "booking"

 
luis veron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi once again,
I have implemented a collection object (hashtable) that will contain all record number currently being used...what will happen if the thread that save the record number in the hashtable doen't get a chance to removed the saved record #..Is a timer needed in this case? a bit confused on this one . Can you suggest me something here..
many thanks
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

yes i too have implemented a forced unlock scheme after a time interval...so that an unlocked record does'nt remain that way infinitely..something has to be done. There might be lots of ways of doing it though.
karthik.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!