[Tcl Java] Re: [Tcl Java] Interrupting the interpreter

2000-01-18 Thread Mo DeJong
Nope. Mo Dejong Red Hat Inc. On Tue, 18 Jan 2000, Trella Christopher-P28453 wrote: In jacl, is there anyway to interrupt the interpreter while it is executing (say an infinite loop is being executed)? Chris Trella 480-675-1347 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

[Tcl Java] Re: [Tcl Java] Interrupting the interpreter

2000-01-18 Thread Steve Carter
Trella, Not sure if this will help but a solution that we have used successfully in TCL 8.x is the Tcl_CreateTrace function. This function permits you to define a callback function that gets executed prior to each TCL command being executed. Thus you can check for interrupt events and