diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-02 12:04:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-02 12:04:21 +0000 |
| commit | 80c948277455eb9deaf79ac910fdc8957038fb75 (patch) | |
| tree | d95cb469a8dab31c15ea61b0f378066f3b7597eb /src/exact_value.cpp | |
| parent | 813b622dcc8ba6f7b330a310fc324fccb33a2264 (diff) | |
| parent | a936f3fb7d3f6e6abf5e2599b7043625a1a0c17b (diff) | |
Merge pull request #6217 from odin-lang/bill/threading-fixes-2026-02
Fix to frontend threading bugs
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index 0f425e043..fa99ed3fe 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -1,8 +1,6 @@ #include <math.h> #include <stdlib.h> -gb_global BlockingMutex hash_exact_value_mutex; - struct Ast; struct HashKey; struct Type; @@ -54,9 +52,6 @@ struct ExactValue { gb_global ExactValue const empty_exact_value = {}; gb_internal uintptr hash_exact_value(ExactValue v) { - mutex_lock(&hash_exact_value_mutex); - defer (mutex_unlock(&hash_exact_value_mutex)); - uintptr res = 0; switch (v.kind) { |