I asked a question about how to get the kernel PID of a thread from a
RTSJ application. David Holmes mentioned that I would needed to introduce native
code: About the TID
Now, I was wondering if there is a similar mechanism for mutexes. Is there
a kind of "kernel ID mutex" that I can obtain directly in a Java app or
by means of native code? For example, it could be useful to get control
of the real time java application locks (shared resources, i.e. methods
or synchronized methods) from another application.