[tcljava-user] JAVA_LOCK problem in TclBlend 1.2.6
Brought to you by:
mdejong
From: Udi M. <ud...@mi...> - 2000-11-14 10:40:24
|
Hello, I'm trying to invoke a TCL command from a Java class in a JVM loaded as = a java package to the TCL shell. If the java command is called from another TCL command invoked from the = shell, the command is called properly. When trying to invoke the command from a Java GUI (button) the process = gets stuck. After some investigation, it looks like the JAVA_LOCK() = macro in the javaInterp.c (in the Java_tcl_lang_Interp_eval procedure) = does not return. When trying to remove the JAVA_LOCK() command (and the matching = JAVA_UNLOCK()), the command is processed but the behaviour is not smooth = (probably due to the lock which was removed). Looks like another thread is locking the NativeLock but I have no idea = which one.=20 Any Ideas ? -Udi Margolin |