This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Ping Re: [PATCH] Make bindresvport() function to multithread-safe
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Peng Haitao <penght at cn dot fujitsu dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 17 Sep 2012 12:44:21 -0700 (PDT)
- Subject: Re: Ping Re: [PATCH] Make bindresvport() function to multithread-safe
- References: <4F3DED0D.7050504@cn.fujitsu.com><5051764D.9070908@cn.fujitsu.com>
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.