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
>
en I will be
OK with requiring threaded Tcl with TclBlend.
-- Jiang Wu
[EMAIL PROTECTED]
-Original Message-
From: Mo DeJong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 2:25 PM
To: Scott Redman
Cc: Jiang Wu; [EMAIL PROTECTED]
Subject: [Tcl Java] Re: [Tcl Java] RE: [Tcl Java] R
d
> into for 8.4).
>
> -- Scott
>
> > -Original Message-
> > From: Jiang Wu [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 16, 2000 11:59 AM
> > To: 'Scott Redman'
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [Tcl Java] RE: [Tcl Java] Thre
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Tcl Java] RE: [Tcl Java] Thread question in TclBlend
>
>
> In theory, JAVA_LOCK sounds like the right thing to do in protecting the
> notifier of a non-thread enabled Tcl interpreter. However, the
> JAVA_LOCK is
> not released while
Message-
From: Scott Redman [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 6:45 PM
To: [EMAIL PROTECTED]
Subject: [Tcl Java] RE: [Tcl Java] Thread question in TclBlend
I think Problem 2 isn't a problem for what we're trying to
do, but I think you're right that it's
I think Problem 2 isn't a problem for what we're trying to
do, but I think you're right that it's easy to fix.
The JAVA_LOCK() is there to serialize calls to the Notifier.
This is not necessary with a thread enabled Tcl library
(--enable-threads), but is necessary for a non-thread
enabled Tcl.
T
DeJong [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 2:20 PM
To: Scott Redman
Cc: [EMAIL PROTECTED]
Subject: [Tcl Java] Re: [Tcl Java] Thread question in TclBlend
On Mon, 15 May 2000, Scott Redman wrote:
> I was reading Jiang Wu's paper on using Java and Tcl. I have
> a quest
Is this the situation you are describing?
Java Thread Tcl "Owner" Thread C Thread
(thread A)(thread B) (thread C)
|
|(Problem 2)
| Call
On Mon, 15 May 2000, Scott Redman wrote:
> I was reading Jiang Wu's paper on using Java and Tcl. I have
> a question for everyone:
Jiang's Wrapper Layer is a neat idea, but there are a couple of
problems with it. You can't really wrap individual Interp
calls because often you need to call other