Ping Re: [PATCH] Make bindresvport() function to multithread-safe

Peng Haitao penght@cn.fujitsu.com
Wed Oct 10 09:57:00 GMT 2012


On 10/10/2012 02:54 PM, Andreas Schwab wrote:
> 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.
> 

That is, if a function is not specified by POSIX, the function can not
be used in multithread circumstance.

Right?

Or this is a rationale.


-- 
Best Regards,
Peng



More information about the Libc-alpha mailing list