On 5/6/2013 6:14 AM, Max Samukha wrote:
FWIW, I played with a generalized form of this pattern long ago, something like (typing from memory):
And, that's the classic double checked locking bug!
On 5/6/2013 6:14 AM, Max Samukha wrote:
FWIW, I played with a generalized form of this pattern long ago, something like (typing from memory):
And, that's the classic double checked locking bug!