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: [PATCH v4] Make bindresvport() function to multithread-safe


On 09/28/2012 03:27 PM, Carlos O'Donell wrote:
> Call this __get_uid(), since that's what you're doing.

That's terribly confusing with getuid.

> You are getting a unique id for the process or thread
> and using that in the hash function to find a good port
> to start the bind attempt.
-- 
Pedro Alves


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