[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3409) libldap_r optimization
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...
Raphael Ouazana.