[PATCH v4] Make bindresvport() function to multithread-safe

Carlos O'Donell carlos@systemhalted.org
Mon Nov 19 06:58:00 GMT 2012


On Wed, Oct 31, 2012 at 2:44 AM, Peng Haitao <penght@cn.fujitsu.com> wrote:
> On 10/26/2012 03:46 AM, Roland McGrath wrote:
>> I think it's acceptable to add a lock using the libc-lock.h primitives.
>>
>
> 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

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>

No regressions on x86-64.

Checked in.

Cheers,
Carlos.



More information about the Libc-alpha mailing list