I was reading Jiang Wu's paper on using Java and Tcl.  I have
a question for everyone:

I want to create a single Tcl interp and access it from only
one Java thread, as per Jiang's Wrapper Layer (sending events
to the one "owner" thread).  That Tcl interp will spawn
threads in Tcl and have those interps do all of the work.
As long as I'm using thread-enabled Tcl 8.3.1, this should
all work fine.

Here is the problem.  I want to access Java objects through
TclBlend from each of the Tcl threads.  It sounds like this
will not work, but can someone explain to me the technical
reason why?  I believe this is because TclBlend doesn't
allow Tcl interps in more than one thread (from Jiang's
paper), or is this only when Tcl has not been built with
threads?

I might be able to have someone (or myself) do some of the 
advance work in making this happen for tcljava 1.3.  I'd
like to make sure that the discussions happen earlier
rather than later.

-- Scott

________________________________________________________________

Scott Redman                        mailto:[EMAIL PROTECTED] 
Software Engineering Manager
Scriptics Corporation               http://www.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

Reply via email to