This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Thread Programming Model
=head1 VERSION
Maintainer: Steven McDougall <[EMAIL PROTECTED]>
Date: 31 Aug 2000
Last Modified: 28 Sep 2000
Version: 4
Mailing List: [EMAIL PROTECTED]
Numbe
On Wed, Sep 27, 2000 at 05:29:22AM -, Perl6 RFC Librarian wrote:
> $ok = try $scalar;
> $ok = try @array
> $ok = try %hash;
> $ok = try ⊂
I'd like to see a more specific name for these. 'try' is too useful a word
for core to gobble it up for everything (IMHO). attempt_lock? Or simpl
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Thread Programming Model
=head1 VERSION
Maintainer: Steven McDougall <[EMAIL PROTECTED]>
Date: 31 Aug 2000
Last Modified: 26 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 185
Vers
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Thread Programming Model
=head1 VERSION
Maintainer: Steven McDougall <[EMAIL PROTECTED]>
Date: 31 Aug 2000
Last Modified: 05 Sep 2000
Mailing List: [EMAIL PROTECTED]
Version: 2
Numbe
> > I dropped the I<$thread>->C call from this interface, and didn't
> > say what happens if a thread Cs. There are several possibilities
> I think that the try stack should unwind all the way through the new Thread
> call -- that is, that the catches for the block that the thread was started
> i
sible...but that doesn't mean we want to program Turing machines.
My hidden agenda is to create a good native thread programming model
for Perl6. Once you have threads and a few synchronization primitives,
you can build anything else you want, but most people won't.
Most people will code dire
> $thread = new Thread \&func , @args;
> $thread = new Thread sub { ... }, @args;
>async { ... };
> $result = join $thread;
>
> critical { ... }; # one thread at a time in this block
>
> =item C BLOCK
>
> Executes BLOCK in a separate thread. Syntactically, C BLOCK
> works
>
> use Thread;
>
> $thread = new Thread \&func , @args;
> $thread = new Thread sub { ... }, @args;
>async { ... };
> $result = join $thread;
>
> $thread = this Thread;
> @threads = all Thread;
>
> $thread1 == $thread2 and ...
> yield();
>
> critical { ... };
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Thread Programming Model
=head1 VERSION
Maintainer: Steven McDougall <[EMAIL PROTECTED]>
Date: 31 Aug 2000
Mailing List: [EMAIL PROTECTED]
Version: 1
Number: 185
Status: Developing
On Fri, 18 Aug 2000, Steven W McDougall wrote:
> I've spent the last 3 years programming WindowsNT threads in MSVC++,
> and I *really* like it. I want similar capabilities in Perl6.
>
> 1 The C++ thread model
> Here is the thread model that I have in C++. It is a starting
> point for thinking abo
I've spent the last 3 years programming WindowsNT threads in MSVC++,
and I *really* like it. I want similar capabilities in Perl6.
1 The C++ thread model
Here is the thread model that I have in C++. It is a starting
point for thinking about what I want in Perl.
Every thread sees
- the same code
11 matches
Mail list logo