summaryrefslogtreecommitdiff
path: root/src/common/fiber.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-04-05 00:37:46 -0400
committerlat9nq <lat9nq@gmail.com>2022-04-05 19:55:56 -0400
commitb976cac49dd7bbfc461802d64d467f9c5b73ce3b (patch)
treec09a194cadf961f124e064725014538f0eafe8b1 /src/common/fiber.cpp
parent983916e9193a65d2cbd55039cc1569c46a7081c1 (diff)
k_system_control: Fix data race
`return distribution(gen)` is a data race between a read and a write in two threads, reported by TSan. Remove static random number generators so they aren't using the same generator.
Diffstat (limited to 'src/common/fiber.cpp')
0 files changed, 0 insertions, 0 deletions