invocation interface

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed May 16 06:57:00 GMT 2001


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 ]


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /