This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping Re: [PATCH] Make bindresvport() function to multithread-safe


On 9/17/2012 3:44 PM, Roland McGrath wrote:
> bindresvport has never been thread-safe before and AFAIK no other system
> that has the function makes it thread-safe.  Like all functions, if it's
> not specifically documented and being thread-safe, it isn't.  I don't see
> the rationale for requiring bindresvport to be thread-safe now.
> 

I agree. If there is no known implementation that requires it to be thread-safe
then we should not either. It slows down applications that properly ensure
that only one thread uses bindresvport.

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]