At 10:59 AM 8/2/00 -0400, Chaim Frenkel wrote:
>I wont comment on the rest.
>
>But Larry has already assigned/blessed 'our' for this usage. (vs. my for
>pure thread local lexical.)
I don't think Larry's weighed in on this one way or another lately.
My bet is thread-shared data will get a shared attribute:
my $foo : shared;
possibly with some sort of dynamic sharing allowed. (i.e. you stuff a ref
to an unshared scalar into a shared array so the unshared scalar becomes
shared)
> >>>>> "BCW" == Bryan C Warnock <[EMAIL PROTECTED]> writes:
>
>BCW> =item *
>
>BCW> The Thread module should add a C<global> keyword or function that
>explicitly
>BCW> access a variable in the program-global stash.
>
>BCW> C<global $main::foo = $foo; # Let another thread know what my
>$foo is.>
>BCW> C<global $main::foo = \$foo; # Share my local foo. Dangerous!>
>BCW> C<$foo = global $main::foo; # Localize this instance of $main::foo.>
>
>--
>Chaim Frenkel Nonlinear Knowledge, Inc.
>[EMAIL PROTECTED] +1-718-236-0183
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk