This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] powerpc: optimizing random() and POSIX question
* Raphael M. Zinsly:
> On 11/02/2020 11:42, Florian Weimer wrote:
>> I think POSIX requires random to the thread-safe in the presence of
>> concurrent initstate calls. Would your change preserve this property?
>>
>
> Yes, concurrent calls to initstate, setstate or srandom will still be
> mutual exclusive.
Then I don't see any immediate problems with this change.
Thanks,
Florian