 <p>This really depends on a number of factors but is generally a bad idea and can lead to <a href="http://en.wikipedia.org/wiki/Race_condition" rel="nofollow">race conditions</a>. You can avoid this by locking the value so that reads and writes are all atomic and thus can't collide.</p>