[Tcl Java] RE: [Tcl Java] TclBlend and Threads
Are you starting a standard Tcl shell first, then load TclBlend? Are you embedding the Tcl interpreter into a C program that is not the "tclsh.exe"? How are you using multi-threads in your program? -- Jiang Wu [EMAIL PROTECTED] -Original Message- From: Sendur Sellakumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 10, 2000 10:09 AM To: [EMAIL PROTECTED] Subject: [Tcl Java] TclBlend and Threads How safe is TclBlend being loaded inside NT threads? Am I right in assuming that it is not thread safe? I am current spawning a Tcl Interp inside a Windows NT Thread. That interp, as it executes tcl commands, also tries to load tclblend. But, the whole shell locks up at the "package require java" command. Any ways I can get around this? Thoughts? Thanks -sendur The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. An archive is available at http://www.mail-archive.com/tcljava@scriptics.com The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. An archive is available at http://www.mail-archive.com/tcljava@scriptics.com
[Tcl Java] Re: [Tcl Java] TclBlend and Threads
If you check the mailing list archive (link is in the scriptics Java FAQ) you will find lots of discussion and a patch that allows one to load Tcl Blend from Java. Tcl Blend is thread safe, but you need to use it correctly. See the archive for discussion. Mo Dejong Red Hat Inc. On Wed, 10 May 2000, Sendur Sellakumar wrote: > How safe is TclBlend being loaded inside NT threads? Am I right in assuming > that it is not thread safe? > > I am current spawning a Tcl Interp inside a Windows NT Thread. That > interp, as it executes tcl commands, also tries to load tclblend. But, the > whole shell locks up at the "package require java" command. > > Any ways I can get around this? Thoughts? > > Thanks > > -sendur > > > The TclJava mailing list is sponsored by Scriptics Corporation. > To subscribe:send mail to [EMAIL PROTECTED] > with the word SUBSCRIBE as the subject. > To unsubscribe: send mail to [EMAIL PROTECTED] > with the word UNSUBSCRIBE as the subject. > To send to the list, send email to '[EMAIL PROTECTED]'. > An archive is available at http://www.mail-archive.com/tcljava@scriptics.com > > The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the subject. To send to the list, send email to '[EMAIL PROTECTED]'. An archive is available at http://www.mail-archive.com/tcljava@scriptics.com