CNI threads and garbage collection on FC4
Ryan Boder
icanoop@bitwiser.org
Sat Aug 27 02:41:00 GMT 2005
On Fri, 2005年08月26日 at 17:29 -0700, Andi Vajda wrote:
> > I think I can rearrange this code so that any new threads are created in
> > java. But that would still require at least one java object to be
> > created by the main thread in C, and that java object can take care of
> > creating the other threads. Is that at least supported? Or are you
> > saying the example program in the Invocation section of the manual is
> > not even supported and the invocation interface is not usable yet?
>> Yes, that's the trick, use a java object created on the main thread as the
> thread factory.
It worked! Now the code works on all the versions of GCJ I have
installed. Thanks, you've helped me a lot.
Ryan
More information about the Java
mailing list