Re: 'Coro' segfaults on DO and EVAL

2005-02-22 Thread pcg
On Tue, Feb 22, 2005 at 06:32:29PM +0100, Rachwal Waldemar-AWR001 <[EMAIL PROTECTED]> wrote: > perl's 'do "SCRIPT"'. > 'eval "CONTENTS"' also crashes in the same way. A sample script reproducing I made an effort of supporting some cases of cede'ing while compiling, the result is in Coro-1.1 (soon

Re: 'Coro' segfaults on DO and EVAL

2005-02-22 Thread pcg
On Tue, Feb 22, 2005 at 06:32:29PM +0100, Rachwal Waldemar-AWR001 <[EMAIL PROTECTED]> wrote: > However, the first trial script with Coro segfaults unexpectedly when I do > perl's 'do "SCRIPT"'. The problem is that Coro cannot reliably work when you jump in/out of currently-being-compiled code, as

'Coro' segfaults on DO and EVAL

2005-02-22 Thread Rachwal Waldemar-AWR001
[once again but without *.pl attachement] Hello, 'Coro' module by Lehmann looks so attractive that I started thinking about re-design event loop approach of our simulator to utilize coroutines. It would give completely new capability--users could write pure perl scripts controlling our simulator

'Coro' segfaults on DO and EVAL

2005-02-22 Thread Rachwal Waldemar-AWR001
Hello, 'Coro' module by Lehmann looks so attractive that I started thinking about re-design event loop approach of our simulator to utilize coroutines. It would give completely new capability--users could write pure perl scripts controlling our simulator having access to its internals. I looked at