summaryrefslogtreecommitdiff
path: root/src/tools/obc/obc.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-11-23 19:52:28 +0100
committerSander Vrijders <sander@ouroboros.rocks>2020-11-25 15:35:23 +0100
commit4c01338e4fb8aee6b28603e7e5f7459f59db9561 (patch)
treec7993a4490975888027b7273f511b5c4f59c241d /src/tools/obc/obc.c
parent2796b90230c7a7642678dea2147ed19b43f9835d (diff)
downloadouroboros-4c01338e4fb8aee6b28603e7e5f7459f59db9561.tar.gz
ouroboros-4c01338e4fb8aee6b28603e7e5f7459f59db9561.zip
irmd: Fix data race in flow allocation
The flow information in the main loop is passed as a direct pointer to an irm_flow object in the flow database. This was (probably) not really an issue due to how the flow allocation operations work, but the thread sanitizer was barfing a lot of (correct) data race errors when running bigger tests, so now makes a safe copy of the data. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/obc/obc.c')
0 files changed, 0 insertions, 0 deletions