Hello all. Are there any known limitations for using a derefernced reference to a shared variable?
I.E. is this code:equivalent to this code?my $var1 : shared; sub vary { $var_ref = shift ; lock ($$var_ref); $$vary_ref = 1 ; } vary (\$var1);
Thanks.my $var1 : shared; $var_ref = shift ; { lock ($$var_ref); $$vary_ref = 1 ; }
In reply to lock with references by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |