Tag: thread-safe code, synchronization, Python