home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2115 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  957 b 

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