Concurrency problems... don't you just hate them.
Actually I believe this one is called a 'dirty read'. Just google for 'concurrency problems' or similar and you'll get a lot of information.
However, the most common solution is just to lock the object.
__________________
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
- Nathaniel Borenstein
|