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: Wed, 10 Oct 2012 08:54:13 +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> <m2sj9o80g1.fsf@igel.home><5074D254.9080308@cn.fujitsu.com>
Peng Haitao <penght@cn.fujitsu.com> writes:
> Can you tell me where I find restriction for bindresvport is not used
> in multithread circumstance?
bindresvport is not specified by POSIX, so it cannot be assumed to be
thread-safe, unless there is a document stating that.
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."