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, 26 Aug 2005, Andi Vajda wrote:

>
> You cannot create a thread and pass it to java after the fact. The gc
> subsystem doesn't support that, yet. Hans Boehm, its author, intends to
> support this eventually....
>
> Andi..
>
That's generally correct, and having Java create the threads is no doubt
usually the best solution for now.

It might also work to create the threads ahead of time with GC_pthread_create,
so that the GC knows about them when they're created.  That's of course
an ugly hack, makes assumptions about your application structure, etc.

Hans


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