[Date Prev][Date Next]
Re: (ITS#3409) libldap_r optimization
At 08:33 AM 12/10/2004, firstname.lastname@example.org wrote:
>Selon "email@example.com" <firstname.lastname@example.org>:
>> 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.