|
Re: Multithreading and locking?
Quote:
Originally Posted by pensono
As long as you only have one writer thread, you won't run into any problems.
|
If you're not conscientious about read-once in a separate task, you can cause yourself problems again where obj.Value = 57 at the start of a function and obj.Value = 118 by the end, despite you not writing anything to it.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.
Lone Star Regional Troubleshooter
|