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
> I'm not completely sure what you are trying to do with this RFC. This RFC describes the programming interface to Perl6 threads. It documents the function calls, operators, classes, methods, or whatever else the language provides for programming with threads. Perl5 has a thread interface, bu

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 =head1 ABSTR