libhpi.so is the threading package. The one in native_threads is the
LinuxThreads version. The one in green_threads (amazingly enough) is
the Green (Sun's all-user-space package) threads version.
Why does Apache "not like" modules using libpthreads.so? It probably
(very probably) uses it itself.
It's a very strange model in which Apache sends a request to your
module and you start up a VM to handle it. You probably should start
your VM as a seperate process and use a socket to communicate.
-John
----------------------------------------------------------------
John Rousseau [EMAIL PROTECTED]
SilverStream Software Phone: +1 978 262 3564
2 Federal Street Fax: +1 978 262 3499
Billerica, MA 01821 http://www.silverstream.com
----------------------------------------------------------------
On Thursday Dec 14, 2000, Valerio Ferrucci wrote:
> Hi,
> I'm in trouble with thie JNI pthreads problem.
>
> Can someone help me on my JNI pthreads problem?
> Or perhaps can you point me to some other (more appropriate for this topic)
> mailing-list?
> Or some other source of support?
>
> Thanks
>
> > >Hi,
> > >I have a problem.
> > >I'm building a module for apache. apache doesn't like modules linked
> > >with libpthread.so.
> > >
> > >To use JNI in my application (Invocation API) I link it with libjvm.so
> > >and libhpi.so.
> > >With ldd I see that these libraries link with pthreads!!!
> > >
> > >This is a problem with apache.
> > >
> > >Someone has idea how to resolve this problem?
> > >
> > >Thanks
> > >
> > >Valerio Ferrucci
> > >
> > >P.S.
> > >I see tha there is a libhpi.so in a green_threads folder that doesn't
> > >link with pthread, but: can I use it?
> > >And for libjvm.so?
> > >
> > >
> > >----------------------------------------------------------------------
> > >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
>
> ==================================================================
> Valerio Ferrucci Tabasoft Sas
> [EMAIL PROTECTED] http://tabasoft.ancitel.it
> [EMAIL PROTECTED]
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]