Steven W McDougall <[EMAIL PROTECTED]> writes:
>
>My point is that we can't work with guesses and exercises.
>We need a specific, detailed proposal that we can discuss and
>evaluate. I'm hoping that someone will submit an RFC for one.
Start with perl5.6.0's ithreads model.
--
Nick Ing-Simmons
Steven W McDougall <[EMAIL PROTECTED]> writes:
>1. All threads execute the same op tree
>
>Consider an op, like
>
> fetch(b)
>
>If you actually compile a Perl program, like
>
> $a = $b
>
>and then look at the op tree, you won't find the symbol "$b", or "b"
>anywhere in it.
But
At 11:59 AM 9/10/00 -0700, Benjamin Stuhl wrote:
>--- Chaim Frenkel <[EMAIL PROTECTED]> wrote:
> > Now where
> > sub recursive() { my $a :shared; ; return
> > recursive() }
> > would put $a or even which $a is meant, is left as an
> > excersize
> > for someone brighter than me.
>
>%P6-E-
> "BS" == Benjamin Stuhl <[EMAIL PROTECTED]> writes:
>> Now where
>> sub recursive() { my $a :shared; ; return
>> recursive() }
>> would put $a or even which $a is meant, is left as an
>> excersize
>> for someone brighter than me.
BS> %P6-E-MEANINGLESS, "my $a : shared" is a meaningless
--- Chaim Frenkel <[EMAIL PROTECTED]> wrote:
> > "SWM" == Steven W McDougall <[EMAIL PROTECTED]>
> writes:
>
> SWM> If you actually compile a Perl program, like
>
> SWM> $a = $b
>
> SWM> and then look at the op tree, you won't find the
> symbol "$b", or "b"
> SWM> anywhere in it. The
At 10:26 PM 9/9/00 -0400, Steven W McDougall wrote:
>RFC 178 proposes a shared data model for Perl6 threads. In a shared
>data model
>- globals are shared unless localized
>- file-scoped lexicals are shared unless the thread recompiles the
> file
>- block scoped lexicals may be shared by
> - p
> SWM> If you actually compile a Perl program, like
>
> SWM> $a = $b
>
> SWM> and then look at the op tree, you won't find the symbol "$b", or "b"
> SWM> anywhere in it. The fetch() op does not have the name of the variable
> SWM> $b; rather, it holds a pointer to the value for $b.
>
> W
> "SWM" == Steven W McDougall <[EMAIL PROTECTED]> writes:
SWM> If you actually compile a Perl program, like
SWM>$a = $b
SWM> and then look at the op tree, you won't find the symbol "$b", or "b"
SWM> anywhere in it. The fetch() op does not have the name of the variable
SWM> $b; r
RFC 178 proposes a shared data model for Perl6 threads. In a shared
data model
- globals are shared unless localized
- file-scoped lexicals are shared unless the thread recompiles the
file
- block scoped lexicals may be shared by
- passing a reference to them
- closures
- declaring one s