[Date Prev][Date Next]
Re: (ITS#3409) libldap_r optimization
At 02:02 PM 12/10/2004, firstname.lastname@example.org wrote:
>Maybe we can just hide the mutexes behind a #ifndef
>IS_GETADDRINFO_THREAD_SAFE, and manually define it where the libc
>documentation declares it to be thread safe. All in all, it looks like
>something regular users can live without, while aware users should be
>allowed to take advantage of.
I haven't a problem with providing an undocumented macro...
even though I think folks will enable it when they likely
shouldn't. I note that some getaddrinfo implementations
are not as thread safe as their manual pages might suggest.