This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: invocation interface
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: invocation interface
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Thu, 17 May 2001 02:01:19 +1200
- Cc: java at gcc dot gnu dot org
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 ]