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