mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
1b355d8a87
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. |
||
---|---|---|
.. | ||
async_flag.rs | ||
atomic_flag.rs | ||
mod.rs | ||
sync_read_async_write_lock.rs | ||
task_queue.rs | ||
value_creator.rs |