Well, hopefully one day all of the important extensions will work properly with threads. For instance, Expect is not thread-safe, but as long as you only use one thread with Expect, then it's fine regardless of how Tcl was built. Jiang and I discussed using checks in the TclBlend code to do some slightly different things based on whether or not Tcl was built with threads (during the runtime of TclBlend, not at compile time). Does anyone else have an opinion on that? -- Scott > -----Original Message----- > From: Jiang Wu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 18, 2000 10:33 AM > To: 'Mo DeJong'; Scott Redman > Cc: Jiang Wu; [EMAIL PROTECTED] > Subject: RE: [Tcl Java] Re: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] > Thread question in TclBlend > > > Will the C based Tcl extensions work the same with the threaded version of > Tcl versus the non-threaded Tcl? One reason for using TclBlend > is to access > these extensions such as Expect and Scotty. > > I don't really see why we need to require the multi-threaded Tcl. If > TclBlend works with multi-threaded Tcl, then it should work with a > non-threaded Tcl. There needs to be better documentation > clarifying things > such as "when using non-threaded Tcl, you can't create a second > interpreter > in a different thread." > > But if the threaded Tcl has no problem with the extensions, then I will be > OK with requiring threaded Tcl with TclBlend. > > -- Jiang Wu > [EMAIL PROTECTED] > ---------------------------------------------------------------- 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