I'm interesting in changing variables (hash for example) w/o using the same variable in two different threads (i.e without using the threads::shared option).
You can't!*
(Why would you want to?)
(*)The very design of threads is purposed to prevent you from doing that. Either accidently or explicitly.
In reply to Re: changing parameters in a thread
by BrowserUk
in thread changing parameters in a thread
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |