[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modules
Subject: Re: [apache-modules] Re: Thread
From: Marco Spinetti <m.spinetti () pisa ! iol ! it>
Date: 2004-01-13 18:00:54
Message-ID: 40043256.6090009 () pisa ! iol ! it
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic