This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: invocation interface


On Wednesday, May 16, 2001, at 08:45  PM, Jeff Sturm wrote:

> Bryce McKinlay wrote:
>> Do you think we need to require an explicit call to JvCreateJavaVM?
>
> Without JvCreateVM how do we establish a "main" thread?  (Is a main
> thread even required apart from JNI?)

I don't know about JNI, but I don't think there is any need to establish 
a "main" thread. The "main" thread - ie the thread that runs main() - 
behaves no different from any other non-daemon thread in Java. Once all 
threads exit, the runtime shuts down.

And now that I've thought about it some more, I withdraw my argument 
about keeping _Jv_ThreadWait().  I don't think it really matters much 
either way.

regards

   [ bryce ]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]