home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!bacon!jordan
- From: jordan@IMSI.COM (Jordan Hayes)
- Newsgroups: comp.lang.tcl
- Subject: Re: Destroying interpreters
- Message-ID: <5810@bacon.IMSI.COM>
- Date: 15 Dec 92 21:20:04 GMT
- References: <1992Dec10.230322.20829@cpu.com>
- Sender: news@bacon.IMSI.COM
- Organization: Investment Management Services Inc., NYC
- Lines: 14
-
- Gerald W. Lester <gwlester@cpu.com> writes:
-
- The problem comes in that since Tcl_eval is in the middle of
- processing a procedure it then tries to access the interpreter
- data structure for the next line of code to execute and dies!
-
- We experience a similar problem with a function that gets called by
- Tcl_Eval() wants to send more code to the interpreter ... things get
- stepped on (but Purify doesn't complain! -- weird ...). I've taken to
- setting a zero-length timeout to let the callback unwind and let the
- main loop process some more events, but there's a window of
- vulnerability that looks ugly ...
-
- /jordan
-