This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 10/26/2012 03:46 AM, Roland McGrath wrote:
>> Shall we accept the mutex solution?
> 
> 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


Thanks.

-- 
Best Regards,
Peng


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]