Unless a variable is shared, each thread will have it's own copy. Full stop.
But...if you assign to an our (global) var prior to spawing a thread that uses that our var, the contents of that our var may no longer be usable.
In reply to Re: Scope of thread variable
by BrowserUk
in thread Scope of thread variable
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |