calling $poe_kernel more than once

2008-03-14 Thread Yuri Shtil
What will happen if $poe_kernel-run called more than once? If this is bad, is there a way to detect that the loop is already active. -- Yuri

Re: calling $poe_kernel more than once

2008-03-14 Thread Matt Sickler
Go right ahead. run() doesn't return until the POE loop completely shutsdown, so its somewhat pointless. IIRC, the wiki has an example where it does make sense. On Fri, Mar 14, 2008 at 3:54 PM, Yuri Shtil [EMAIL PROTECTED] wrote: What will happen if $poe_kernel-run called more than once? If

Re: calling $poe_kernel more than once

2008-03-14 Thread Yuri Shtil
What if it is called while in the POE loop? Matt Sickler wrote: Go right ahead. run() doesn't return until the POE loop completely shutsdown, so its somewhat pointless. IIRC, the wiki has an example where it does make sense. On Fri, Mar 14, 2008 at 3:54 PM, Yuri Shtil [EMAIL PROTECTED]

Re: calling $poe_kernel more than once

2008-03-14 Thread Phil Whelan
Hi Yuri, What will happen if $poe_kernel-run called more than once? What if it is called while in the POE loop? I think it may tear a hole in the space-time continuum! I'd be interested to see how you've structured your code to get this to be called twice. I usually just do the