aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-06 08:49:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-06 08:49:30 +0200
commit561b7521370fc0f3c97b86aa71005baa9fea08ce (patch)
tree1aad6fa8f2a7cc6ac5b59f9026f382f5a513334c /src/nissy.c
parent8f6ac739c35c1d94adc504eb74a41b64d94a953f (diff)
downloadnissy-core-561b7521370fc0f3c97b86aa71005baa9fea08ce.tar.gz
nissy-core-561b7521370fc0f3c97b86aa71005baa9fea08ce.zip
Fix concurrency issues
So I did not have any misconception about Atomics, I just could not apply it where I did because the logic doesn't allow for it.
Diffstat (limited to '')
-rw-r--r--src/nissy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nissy.c b/src/nissy.c
index 561ef53..44efb83 100644
--- a/src/nissy.c
+++ b/src/nissy.c
@@ -75,7 +75,7 @@ checkdata(const void *buf, const tableinfo_t *info)
75 getdistribution_cocsep( 75 getdistribution_cocsep(
76 (uint32_t *)((char *)buf + INFOSIZE), distr); 76 (uint32_t *)((char *)buf + INFOSIZE), distr);
77 } else if (!strncmp(info->solver, "h48", 3)) { 77 } else if (!strncmp(info->solver, "h48", 3)) {
78 getdistribution_h48((_Atomic uint8_t *)buf + INFOSIZE, distr, 78 getdistribution_h48((uint8_t *)buf + INFOSIZE, distr,
79 info->h48h, info->bits); 79 info->h48h, info->bits);
80 } else { 80 } else {
81 LOG("checkdata: unknown solver %s\n", info->solver); 81 LOG("checkdata: unknown solver %s\n", info->solver);

Generated with cgit - Back to sebastiano.tronto.net