[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] problem with creating a thread

2000-06-15 Thread Zhumei Wang
Sorry, Mo. I didn't know that was a pure java question. I thought that was a question related to Tclblend. Thank you for your time anyway. zhumei The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] problem with creating a thread

2000-06-15 Thread Zhumei Wang
Thanks Mo. You are right. But actually I have "mInterp = interp" in my program. When I sent you the mail somehow I deleted it. That means having that in program, still have the same problem. Could you please help me to find another problem? Thanks, Zhumei On Thu, 15 Jun 2000, Mo DeJong wrote: >

[Tcl Java] problem with creating a thread

2000-06-15 Thread Zhumei Wang
Hi, I am creating a set of Tcl commands over a java application. Without a seperate thread for Tcl interpreter, the commands I created worked fine in java. However, taking the advice from Mr. Wu, I am trying to create a seperate thread for Tcl interpreter but I couldn't make it work. In my small

[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] "history" command in TclBlend?

2000-06-08 Thread Zhumei Wang
nd in > Tcl. You should use a separate thread to run the Tcl interpreter. If you > don't, you may run into crashes and deadlocks. > > -- Jiang Wu > [EMAIL PROTECTED] > > -Original Message- > From: Zhumei Wang [mailto:[EMAIL PROTECTED]] > Sent: Thursday,

[Tcl Java] "history" command in TclBlend?

2000-06-08 Thread Zhumei Wang
Hi all, I am glad to hear that there is a new "history" command for Jacl. However, I am using TclBlend now. Do we have "history" command in TclBlend? Another question is: In order to embed a Tcl interpreter in Java, do the Java program has to create a thread to be used exclusively for the Tcl i

[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] problem with creating Interp object

2000-05-29 Thread Zhumei Wang
Wow, what a mail list! I asked one question and got so many answers at the same day. I love it. Thanks guys. Actually the answers from both of you are all I needed. I made that piece of code work in tcl shell . What I am trying to do now is to embed a tcl interpreter in java. It seems to me that

[Tcl Java] problem with creating Interp object

2000-05-29 Thread Zhumei Wang
W,Ultra-5_10 and I'm using tcl 8.3.1, tclBlend1.2.5 and jdk1.2.2. Could anyone tell me why this happened and how to fix it to make this small example work. Any help will be appreciated. Zhumei Wang The TclJava mailing list is spons