forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d706194597
The way that document writes are handled are by submitting them to the async job pool, which are all executed opportunistically out of order. It was discovered that this can lead to write inconsistencies when there are multiple writes to the same file in quick succession. This seeks to fix this problem by removing document writes from the general pool of jobs and into its own specialized event. Now when a user submits a write with one of the write commands, a request is simply queued up in a new mpsc channel that each Document makes to handle its own writes. This way, if multiple writes are submitted on the same document, they are executed in order, while still allowing concurrent writes for different documents. |
2 years ago | |
---|---|---|
.. | ||
auto_indent.rs | 2 years ago | |
auto_pairs.rs | 2 years ago | |
commands.rs | 2 years ago | |
helpers.rs | 2 years ago | |
movement.rs | 2 years ago | |
prompt.rs | 2 years ago | |
write.rs | 2 years ago |