I would like to know if the Python built-in containers (list, vector, set...) are thread-safe? Or do I need to implement a locking/unlocking environment for my shared variab
They are thread-safe as long as you don't disable the GIL in C code for the thread.