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

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