[Tcl Java] [Tclblend] accessing inner class?

2000-10-17 Thread Jens Schliephacke
Good morning dear list! I'm having a problem using the javax.mail API directly from tcl. I'm using tclblend 1.2.5 an I have to get this Java code done from tcl: // Examine ALL system flags for this message Flags flags = m.getFlags(); Flags.Flag[] sf = flags.getSystemFlags(); for (int i = 0;

[Tcl Java] Re: [Tclblend] accessing inner class?

2000-10-17 Thread Mo DeJong
On Tue, 17 Oct 2000, Jens Schliephacke wrote: Good morning dear list! Humm, I was just going to bed. I'm having a problem using the javax.mail API directly from tcl. I'm using tclblend 1.2.5 an I have to get this Java code done from tcl: // Examine ALL system flags for this message

[Tcl Java] thread cleanup - something that works

2000-10-17 Thread Daniel Wickstrom
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 run this setup under load, and other than leaking

[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