aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-03-06 17:22:23 -0500
committerAndrew Kelley <andrew@ziglang.org>2023-03-08 00:00:52 -0500
commite3cf9d165081533524927cebf8a92ac6fee097f2 (patch)
treefa2c60e017e3fb75019d53e579dfe2c8c2e15998 /test/behavior/error.zig
parent6fc1621cbd33f388388844bfc176a10c062779cc (diff)
downloadzig-e3cf9d165081533524927cebf8a92ac6fee097f2.tar.gz
zig-e3cf9d165081533524927cebf8a92ac6fee097f2.zip
Module: rewrite zir caching logic
Multiple processes can sit waiting for the exclusive lock at the same time, so we want to recheck whether it needs to be updated whenever we get an exclusive lock. This also fixes a race condition between one process truncating the cache file and another process reading it without atomic locking.
Diffstat (limited to 'test/behavior/error.zig')
0 files changed, 0 insertions, 0 deletions