[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modules
Subject: Re: [apache-modules] Re: Thread
From: "howard J meadows" <h_j_meadows () lycos ! com>
Date: 2004-01-13 21:11:44
Message-ID: KDJKNPFBJPOEFFAA () mailcity ! com
[Download RAW message or body]
On the Solaris box I'm using I get very paranoid about this and use -D_REENTRANT \
-D_THREAD_SAFE in the Makefile. Also making sure the pthreads library is included.
HTH
Howard
--
--------- Original Message ---------
DATE: Tue, 13 Jan 2004 19:27:28
From: Marco Spinetti <m.spinetti@pisa.iol.it>
To: apache-modules@covalent.net
Cc:
> There is no --with-pthread in apache 1.3.27 and there is no CONFLAGS in
> Makefile.
>
> I'll try to add it and recompile.
>
>
> --Marco
>
>
> Joe Lewis wrote:
>
> > Add the options in the Makefile (after configuring) to:
> >
> > CONFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread
> >
> > and then compile. I think there was an option for configuring
> > --with-pthread(s), but I can't remember what it was.
> >
> > Joe
> >
> > Marco Spinetti wrote:
> >
> > > Ehm,
> > >
> > > how can I compile apache 1.3.x with "-pthread -D_REENTARNT" options?
> > >
> > > It seems very interesting.
> > >
> > > I have seen configure script but it seems that there is no pthreads
> > > support option.
> > >
> > >
> > > How can I do?
> > >
> > >
> > > --Marco
> > >
> > >
> > > Alex (Oleksiy) Bolgarov wrote:
> > >
> > > > --- Marco Spinetti <m.spinetti@pisa.iol.it> wrote: >
> > > > No,
> > > >
> > > >
> > > > > I'm starting threads in child process (inside
> > > > > handler function) not during reading of configuration data.
> > > > >
> > > > > Reading your email it seems that using pthreads
> > > > > inside child process in apache 1.3.x gives strange results and it
> > > > > will not
> > > > > work as expected, while using apache 2 all is ok.
> > > > >
> > > > > Is it true?
> > > > >
> > > >
> > > >
> > > >
> > > > I do not know very much about Apache 1.3, my module
> > > > was from the very beginning developer for Apache2. It
> > > > just was that the your problem was very similar to my
> > > > experience when I was incorrectly starting threads in
> > > > the parent Apache process.
> > > > Well, if you start threads in the child process, after
> > > > fork, then it should be OK. The only other thing that
> > > > comes into mind is to check if the Apache itself was
> > > > build with pthread support: for example, if you are
> > > > compiling Apache with gcc, there should be "-pthread
> > > > -D_REENTARNT" options.
> > > >
> > > >
> > > > Thank you,
> > > >
> > > > alex.
> > > >
> > > > ______________________________________________________________________
> > > > Post your free ad now! http://personals.yahoo.ca
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> > > > For additional commands, e-mail: apache-modules-help@covalent.net
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> > > For additional commands, e-mail: apache-modules-help@covalent.net
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> > For additional commands, e-mail: apache-modules-help@covalent.net
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> For additional commands, e-mail: apache-modules-help@covalent.net
>
>
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
---------------------------------------------------------------------
To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
For additional commands, e-mail: apache-modules-help@covalent.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic