you are sharing the variable across iterations
But, v
is redefined inside the Threads.@threads for
loop. Is it shared because there existed a previous v
(defined outside the loop) and/or because it is not declared as a local?
you are sharing the variable across iterations
But, v
is redefined inside the Threads.@threads for
loop. Is it shared because there existed a previous v
(defined outside the loop) and/or because it is not declared as a local?