[RFC] powerpc: optimizing random() and POSIX question

Raphael M Zinsly rzinsly@linux.ibm.com
Wed Feb 12 13:22:00 GMT 2020


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.

Thanks,
-- 
Raphael Moreira Zinsly
IBM
Linux on Power Toolchain



More information about the Libc-alpha mailing list