This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v4] Make bindresvport() function to multithread-safe
- From: Peng Haitao <penght at cn dot fujitsu dot com>
- To: "Carlos O'Donell" <carlos at systemhalted dot org>
- Cc: Roland McGrath <roland at hack dot frob dot com>, libc-alpha at sourceware dot org
- Date: Thu, 01 Nov 2012 09:12:00 +0800
- Subject: Re: [PATCH v4] Make bindresvport() function to multithread-safe
- References: <1348823725-18793-1-git-send-email-penght@cn.fujitsu.com> <CAE2sS1hJLkePJXMw8wCXQ48einUnvjPSbjX11LMzCVvT3i3zZg@mail.gmail.com> <507D29FF.2010605@cn.fujitsu.com> <20121016172655.GS254@brightrain.aerifal.cx> <CAE2sS1icTvn=5AisNDBdRqPCVn7x9dOmSSVY-6VXuu9WLQCv2g@mail.gmail.com> <20121018195803.GG254@brightrain.aerifal.cx> <CAE2sS1i75S8XRuGfLegoPBFvzgYErzPS63NqebzgoMXFNy6waw@mail.gmail.com> <20121025173944.GO254@brightrain.aerifal.cx> <CAE2sS1iNA1G8_UKAuR3=R5iUJ7x01FmMj3hyJtNYKh-=Sxiamw@mail.gmail.com> <20121025193403.D12AD2C092@topped-with-meat.com> <CAE2sS1je=1EucG1zef4UyVR8jonEwkLThO=A45wAf_V38P9p7w@mail.gmail.com> <20121025194613.1B8F12C08D@topped-with-meat.com> <5090C8C0.8060302@cn.fujitsu.com> <CAE2sS1hffnZxQF4ETLazqE+qGBmKEqENXG27hcScBgG01c5QWw@mail.gmail.com>
On 10/31/2012 11:03 PM, Carlos O'Donell wrote:
>>
>> The V2 patch uses __libc_lock_lock(NAME) in bits/libc-lock.h,
>> It is OK?
>>
>> V2 patch: http://sourceware.org/ml/libc-alpha/2012-09/msg00507.html
>
> Peng,
>
> Yes, this patch is what we're going to go with.
>
> I'll work to get this checked in.
>
> I thought about documentation for this change but I see that we don't
> document any of the sunrpc functions, and they are going away anyhow
> as part of the hopeful TIRPC migration. Therefore I see no need for
> additional documentation. I do think it worthwhile that we contact the
> linux manpages project and tell them of the change in behaviour (even
> if not portable).
>
After the patch is applied, I will send a patch to tell linux manpages
project of the change.
Thanks.
--
Best Regards,
Peng