Re-sync our Mutex implementation with zig stdlib (#16271)

This commit is contained in:
Jarred Sumner
2025-01-08 21:09:27 -08:00
committed by GitHub
parent 73fd69fcb4
commit 2465ccae53
48 changed files with 484 additions and 574 deletions

View File

@@ -168,7 +168,7 @@ pub const StandaloneModuleGraph = struct {
none,
/// It probably is not possible to run two decoding jobs on the same file
var init_lock: bun.Lock = .{};
var init_lock: bun.Mutex = .{};
pub fn load(this: *LazySourceMap) ?*SourceMap.ParsedSourceMap {
init_lock.lock();