Volatile vs. Interlocked vs. lock Volatile vs. Interlocked vs. lock multithreading multithreading