[Tcl Java] Re: thread cleanup - something that works

2000-10-17 Thread Mo DeJong
On Tue, 17 Oct 2000, Daniel Wickstrom wrote: I was never able to get Tcl_CreateThreadExitHandler to work for either the TclThreadCleanup or the JavaCacheCleanup routines. As a work-around I decided to call both of these cleanup routines at the end of the JavaInterpDeleted function. I've

[Tcl Java] Re: thread cleanup - something that works

2000-10-17 Thread Dan Wickstrom
Well, thread support was just added recently so before that having two interps in the same thread was the only way you could create two interps, cause there was only one thread. Besides that, it is nice to be able to have a child interp to run things in. It provides the ability to run safe