Re: BREAKing into Euphoria
- Posted by Pete Lomax <petelomax at blueyond?r.co?uk> Sep 12, 2007
- 2126 views
Robert Craig wrote: > > Pete Lomax wrote: > > > > I got some "interesting" results (random crashes mainly) from this, however > > enough of it works to show that something is possible (comments, Rob?): > > Maybe there is a generic problem with trace in call_back routines?? > > Possibly. I'm not sure. I guess SetConsoleCtrlHandler is invoking the Eu code I posted much like OS threads, so if it is not thread-safe then random crashes will occur. Hence any such code would have to be in the back end rather than Eu code, unless something can be done along the lines of task_yield(). Regards, Pete