Re: suspend and resume opcode

2005-11-05 Thread Tomo
Hello. I enjoy Parrot and tried to write new two opcodes -- suspend and resume. suspend opcode is to halt interpreter and resume opcode is to restart interpreter from where it suspended. Hmm. How does the Cresume opcode execute, when the runloop was left? No test case there. What would

Re: suspend and resume opcode

2005-11-05 Thread Leopold Toetsch
On Nov 5, 2005, at 9:48, Tomo wrote: The usage is following: 1. The parent interpreter creates child a ParrotInterpreter object. 2. The parent interpreter runs the child interpreter with runinterp opcode. 3. The child interpreter suspends by itself with suspend opcode. 4. The parent

suspend and resume opcode

2005-11-04 Thread Tomo
Hello, I enjoy Parrot and tried to write new two opcodes -- suspend and resume. suspend opcode is to halt interpreter and resume opcode is to restart interpreter from where it suspended. Please refer to attached souce and test case. Thank you for reading. #include parrot/dynext.h VERSION

Re: suspend and resume opcode

2005-11-04 Thread Leopold Toetsch
Tomo wrote: Hello, I enjoy Parrot and tried to write new two opcodes -- suspend and resume. suspend opcode is to halt interpreter and resume opcode is to restart interpreter from where it suspended. Hmm. How does the Cresume opcode execute, when the runloop was left? Please refer

Re: suspend and resume opcode

2005-11-04 Thread Will Coleda
wrote: Hello, I enjoy Parrot and tried to write new two opcodes -- suspend and resume. suspend opcode is to halt interpreter and resume opcode is to restart interpreter from where it suspended. Hmm. How does the Cresume opcode execute, when the runloop was left? Please refer to attached souce

Re: suspend and resume opcode

2005-11-04 Thread Tomo
Please refer to attached souce and test case. Sorry, I miss test case -- attached.

Re: suspend and resume opcode

2005-11-04 Thread Will Coleda
No, it isn't. =) The mail list strips out .t attachments (Robert? is this necessary?) Please follow the instructions at http://www.parrotcode.org/ patchfaq.html, or inline the file to the list. Thanks. On Nov 4, 2005, at 8:36 AM, Tomo wrote: Please refer to attached souce and test case.

Re: suspend and resume opcode

2005-11-04 Thread Paul Johnson
On Fri, Nov 04, 2005 at 11:02:42AM -0500, Will Coleda wrote: The mail list strips out .t attachments (Robert? is this necessary?) This was changed on perl5-porters a few weeks ago, and since then I don't recall seeming a marked increase in troff spam. -- Paul Johnson - [EMAIL PROTECTED]