develooper Front page | perl.perl6.language | Postings from August 2000

Re: RFC 27 (v1) Coroutines for Perl

Thread Previous | Thread Next
From:
Nathan Wiger
Date:
August 4, 2000 09:09
Subject:
Re: RFC 27 (v1) Coroutines for Perl
Message ID:
398AE993.D6477B48@wiger.org
> I like this, but I'd like to see this, inter-thread queues, and events all
> use the same communication method. Overload filehandles to pass events
> around instead, so:
> 
>    my $thing = <$handle>;
> 
> could read a record from a file, or get an event from the event queue, or
> receive some data from another thread. (With perhaps <$foo> in an lvalue
> context being the same as sending a message down the filehandle to
> whatever's on the other end)

I have my way with the new open(), this'll happen. See RFC 14. Version 2
(which explores this in detail) should be up this afternoon.

-Nate

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About