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]
Other format: [Raw text]

Re: CNI threads and garbage collection on FC4


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


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