This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GIJ Thread PIDs for JVMTI/JDWP
- From: Tom Tromey <tromey at redhat dot com>
- To: Kyle Galloway <kgallowa at redhat dot com>
- Cc: GCC Java <java at gcc dot gnu dot org>
- Date: 31 Aug 2006 16:12:16 -0600
- Subject: Re: GIJ Thread PIDs for JVMTI/JDWP
- References: <44F75289.5020000@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Kyle" == Kyle Galloway <kgallowa@redhat.com> writes:
Kyle> Does anyone know if there is already a way to get the Linux PID of a
Kyle> Java thread running on GIJ?
There isn't one.
Kyle> If this functionality doesn't exist, does
Kyle> anyone know of a better solution than just having the threads store
Kyle> their PID in a data structure (likely in natThread.cc) on
Kyle> startup?
Sounds reasonable to me.
I looked a bit and all I can see is gettid() -- meaning this is the
only approach.
Tom