Details of Can ThreadLocal Solve the Double-checked Locking Problem?
About Can ThreadLocal Solve the Double-checked Locking Problem?
Can ThreadLocal Solve the Double-checked Locking Problem?- Explains how to fix the double-checked locking idiom by using thread-local variables and takes a look at its performance.