[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3409) libldap_r optimization
At 08:33 AM 12/10/2004, raphael.ouazana@linagora.com wrote:
>Selon "ando@sys-net.it" <ando@sys-net.it>:
>
>> The analysis looks correct; a reliable way to detect at configure
>> time if getaddrinfo is reentrant is needed.
>
>Maybe a way to do it is to test if the pointer created by getaddrinfo is
>different in two different threads. It seems that postgresql uses this
>method to check that some system calls are reentrant.
>As I have no "thread-unsafe" getaddrinfo, I can't check if it is a good
>test or not...
This is not a good test. I don't believe there is a good test.
Kurt