Functions in a module are equivalent to static methods in a class. A thread safety problem arises when several threads can modify shared data, or even one thread can change such data while others read it; it is best avoided if the data belongs to the ONE module (access via Queue.Queue from others), but when this is not possible, you need to resort to locking and other, more complicated synchronization primitives.
, , , , , ( , , - pont, - - , "" ).
multiprocessing Python, threading, " " - , ... , , , mmap ; -).