View Single Post
Old Aug 19th, 2005, 2:24 PM   #38
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
So don't exit when you see a completed shift if there's a possibility of a subsequent uncompleted one. For one thing, I doubt you're dealing with a million shift records. For another, you could sort the DB by time so that you always encounter later ones first, if they exist. As for what you perceive to be improper operation, stick with the debug statements. Why would you take a clock in path? The variables will tell you. We hope to hell you spose it hasn't been a waste of time for you, because if it has, it's been a waste of time for us, too.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote