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: Andreas Schwab <schwab at linux-m68k dot org>
- To: Peng Haitao <penght at cn dot fujitsu dot com>
- Cc: Roland McGrath <roland at hack dot frob dot com>, libc-alpha at sourceware dot org
- Date: Tue, 09 Oct 2012 11:22:06 +0200
- 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>
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?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."