Re: [ADVANCED-DOTNET] DynamicMethod Class

2005-08-08 Thread Jonathan Ross
tions. Are there any native or otherwise good ways to do this? I'm not immensely worried about any one thread/pseudo-thread in my program hanging, as long as I have a way to escape it. - Original Message - From: "Mark Hurd" <[EMAIL PROTECTED]> To: Sent: Monday, Aug

Re: [ADVANCED-DOTNET] DynamicMethod Class

2005-08-08 Thread Mark Hurd
Seeing as noone else has answered, I'll point out the boot.lisp in DotLisp as an example of dynamic code (Rich Hickey's original calls delegates, and my modification also calls single method interfaces) that answers the second and third questions. DotLisp project http://dotlisp.sourceforge.net/ M

[ADVANCED-DOTNET] DynamicMethod Class

2005-08-06 Thread Jonathan Ross
I'm doing a project using DynamicMethods and have some questions. Note: I'm not sure, but this may only be available in .NET 2.0. #1 After I emit an instruction, is there any way for me to delete it or otherwise modify it? After I call the function for the first time, I can still emit instructi