>>>>> "valerio" == valerio <[EMAIL PROTECTED]> writes:
valerio> I have a problem. I'm building a module for
valerio> apache. apache doesn't like modules linked with
valerio> libpthread.so.
valerio> To use JNI in my application (Invocation API) I link it
valerio> with libjvm.so and libhpi.so. With ldd I see that these
valerio> libraries link with pthreads!!!
valerio> I see tha there is a libhpi.so in a green_threads folder
valerio> that doesn't link with pthread, but: can I use it? And
valerio> for libjvm.so?
classic/libjvm.so is not linked with libpthread.so. Anyhow, green
threads and JNI (and in particular the Invocation API) don't mix well.
The HotSpot VMs (server/libjvm.so and client/libjvm.so) only work with
pthreads.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]