title: What is the meaning of the term "thread-safe"?
body: <p>Does it mean that two threads can't change the underlying data simultaneously? Or does it mean that the given code segment will run with predictable results when multiple threads are executing that code segment?</p>