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: GIJ Thread PIDs for JVMTI/JDWP


>>>>> "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


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