[PATCH] random: clarify PRNG MT safety guarantees
Morten Brørup
mb at smartsharesystems.com
Wed Oct 4 14:05:46 CEST 2023
> From: Mattias Rönnblom [mailto:mattias.ronnblom at ericsson.com]
> Sent: Wednesday, 4 October 2023 12.55
random: clarify PRNG MT safety guarantees
>
> Clarify MT safety guarantees for unregistered non-EAL threads calling
> PRNG functions in rte_random.h.
>
> Clarify that rte_srand() is not MT safe in regards to calls to
> rte_rand_max() and rte_drand().
>
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
> Suggested-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list