Take a look at http://poe.perl.org/?POE_Cookbook for some ideas on how
POE might be used

On Tue, Aug 25, 2009 at 9:25 PM, Liu, Fred<fred....@amd.com> wrote:
>
>  Many thanks.
> Is there a better way to realize it?
> What is the recommended practice?
>
> Thanks.
>
> Fred
>> -----Original Message-----
>> From: Rocco Caputo [mailto:rcap...@pobox.com]
>> Sent: Wednesday, August 26, 2009 10:54 AM
>> To: POE Mailing List
>> Subject: Re: how to create parallel sessions?
>>
>> 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
>> >
>>
>>
>>
>
>

Reply via email to