RFC 185 (v4) Thread Programming Model

2000-09-28 Thread Perl6 RFC Librarian
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

Re: RFC 185 (v3) Thread Programming Model

2000-09-27 Thread James Mastros
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

RFC 185 (v3) Thread Programming Model

2000-09-26 Thread Perl6 RFC Librarian
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

RFC 185 (v2) Thread Programming Model

2000-09-06 Thread Perl6 RFC Librarian
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

Re: RFC 185 (v1) Thread Programming Model

2000-09-02 Thread Steven W McDougall
> > 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

Re: RFC 185 (v1) Thread Programming Model

2000-09-01 Thread Steven W McDougall
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

Re: RFC 185 (v1) Thread Programming Model

2000-08-31 Thread James Mastros
> $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

Re: RFC 185 (v1) Thread Programming Model

2000-08-31 Thread Michael Maraist
> > 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 { ... };

RFC 185 (v1) Thread Programming Model

2000-08-31 Thread Perl6 RFC Librarian
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

Re: Thread programming model

2000-08-19 Thread Bryan C . Warnock
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

Thread programming model

2000-08-18 Thread Steven W McDougall
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