1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/util/sync
David Sherret 1b355d8a87
refactor(npm): improve locking around updating npm resolution (#24104)
Introduces a `SyncReadAsyncWriteLock` to make it harder to write to the
npm resolution without first waiting async in a queue. For the npm
resolution, reading synchronously is fine, but when updating, someone
should wait async, clone the data, then write the data at the end back.
2024-06-05 15:17:35 -04:00
..
async_flag.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00
atomic_flag.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00
mod.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00
sync_read_async_write_lock.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00
task_queue.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00
value_creator.rs refactor(npm): improve locking around updating npm resolution (#24104) 2024-06-05 15:17:35 -04:00