"Rousseau, John" wrote:

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

Which one have I to use? native or green?
Where are the API of these two documented?

> Why does Apache "not like" modules using libpthreads.so? It probably
> (very probably) uses it itself.

I don't know why. If I link my module with pthreads, then Apache fails at
startup time!


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

Do you think this is the only solution?


Thanks


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

--

==================================================================
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]

Reply via email to