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 C opcode execute, when the runloop was left? > No test case there. What would be t

Re: suspend and resume opcode

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

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 = PARR