Re: how to create parallel sessions?
Rocco Caputo <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected] 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 >