how to create parallel sessions?

2009-08-25 Thread Liu, Fred
Hello,

I use  for () { POE::Session-create() }.
But it seems for() is not a parallel dispatcher.

Thanks.


Fred Liu



POE::Loop::{Event,Gtk,Tk} Now Separate Distros

2009-08-25 Thread Rocco Caputo
I just released these loops (versions 1.300) as separate  
distributions.  Older versions are still in POE's distribution until  
the next release, which I hope to be this week.


Software that needs these modules MUST depend on them explicitly now,  
or they won't install properly after the next POE release.  This is  
your last opportunity to fix dependencies in advance.


I'll probably warn y'all again once POE's released, but by then it'll  
be, as they say, TOO LAATE!!


--
Rocco Caputo - rcap...@pobox.com


Re: how to create parallel sessions?

2009-08-25 Thread Rocco Caputo
Perl's for() is not a parallel dispatcher, sorry.  POE::Session- 
create() should take relatively little time, after which your  
program should call POE::Kernel-run().  This run() method is a  
cooperative timeslice dispatcher, which is often parallel enough.


--
Rocco Caputo - rcap...@pobox.com


On Aug 25, 2009, at 21:56, Liu, Fred wrote:


Hello,

I use  for () { POE::Session-create() }.
But it seems for() is not a parallel dispatcher.

Thanks.


Fred Liu