in reply to Re^9: multithreads newbie question
in thread multithreads newbie question

daverave:

In general, you can avoid locking if you can guarantee that there would be no overlap. However, I'd argue against it:

The second reason is especially pernicious, as thread interaction bugs can raise their heads infrequently. The interval between creating the bug and being bitten by it can hide the cause of the bug, as you wouldn't necessarily remember the change you made four months ago!

...roboticus