Specifically I'm talking about Python I never saw anything on the value of an object without passing it (To a lesser extent), and I am thinking that the thread is safe to use local thread to do this. Also, how do you know about doing this?
No - The thread means localized that each thread gets its copy of that variable using it (At least in general) is thread-safe, just because each thread uses its variable, is different from the variable with the same name which reaches other threads. Otoh, they are not usually useful (usually) for communication between threads.
Comments
Post a Comment