mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
The existing `lock` and `unlock` methods continue to act exclusively. They should be used when data may be mutated. New methods, `lockShared` and `unlockShared`, may be used for shared locking in situations where multiple independent users are reading but not mutating data.
2302 lines
96 KiB
2302 lines
96 KiB