Change doc to reflect thread-safety, remove unnessasary volatile