[PATCH v4] Make bindresvport() function to multithread-safe

Pedro Alves palves@redhat.com
Fri Sep 28 14:42:00 GMT 2012


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



More information about the Libc-alpha mailing list