<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 5.50.3825.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I want to run kaffe in my program in linux. I'd like to start
kaffe as a thread in a process. After kaffe finishes, it will be requested to
restart as a thread in the same process. However, the second time I run kaffe,
it does not work. It seems kaffe is designed to run once and then exit to the
system. </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I make some modification. It works when running single thread
of Java Application. But multithreads Java Application stops in the second round
of running. What i do is like this:<BR> configured kaffe
--with-threads=unix-pthreads. Turn off two or three assertion in
JNI_CreateJavaVM(). Set hashTable=0 and tLock=0. in the
initialization</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Is there anyone try this? Any advice is welcome. Thanks
in advance.<BR></FONT></DIV>
<DIV><FONT size=2>BR,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Qiujing</FONT></DIV></BODY></HTML>