Update threadsafety.md