Let's say I have the following declaration:
thread_local std::atomic<void*> local_var;
Are modifications of local_var
from other threads allowed? That is, if I communicate the address of the local_var
to another thread, won't modifying local_var
from there summon the nasal demons?