Is there a Lock.acquire/release being done under the covers in the following statement:
my_thread_local = threading.local()
my_thread_local.some_value = 1
How about this one:
local_variable = my_thread_local.some_value
Is there a Lock.acquire/release being done under the covers in the following statement:
my_thread_local = threading.local()
my_thread_local.some_value = 1
How about this one:
local_variable = my_thread_local.some_value