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: Peng Haitao <penght at cn dot fujitsu dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Roland McGrath <roland at hack dot frob dot com>, libc-alpha at sourceware dot org
- Date: Wed, 10 Oct 2012 09:41:40 +0800
- Subject: Re: Ping Re: [PATCH] Make bindresvport() function to multithread-safe
- References: <4F3DED0D.7050504@cn.fujitsu.com> <5051764D.9070908@cn.fujitsu.com> <20120917194421.8FCD02C053@topped-with-meat.com> <5073E081.2040500@cn.fujitsu.com> <m2sj9o80g1.fsf@igel.home>
On 10/09/2012 05:22 PM, Andreas Schwab wrote:
> Peng Haitao <penght@cn.fujitsu.com> writes:
>
>> That is, the valid value of port number is 512 to 1023,
>> but in multithread circumstance, the port number may be 1024.
>> The test program can refer to URL:
>> http://sourceware.org/bugzilla/show_bug.cgi?id=13763
>>
>> So I think bindresvport() need to be fixed.
>
> How can the use of a non-multi-thread-safe function in multiple threads
> be a valid test case?
>
Can you tell me where I find restriction for bindresvport is not used
in multithread circumstance?
--
Best Regards,
Peng