diff options
author | Spottedleaf <[email protected]> | 2019-11-10 10:00:16 -0800 |
---|---|---|
committer | Zach <[email protected]> | 2019-11-10 12:00:16 -0600 |
commit | 10c29e7369df57f7bdb68bf8b4fdc6f229e6a014 (patch) | |
tree | 7d63435eaa9af99038aa286d61a769699eb38200 /.editorconfig | |
parent | 8d036cea010b0c104ff324e2eae30965436b000f (diff) | |
download | Paper-10c29e7369df57f7bdb68bf8b4fdc6f229e6a014.tar.gz Paper-10c29e7369df57f7bdb68bf8b4fdc6f229e6a014.zip |
Fix racey NextTickListEntry creation. (#2683)
The counter is used to distinguish entries from each other, however
since we can concurrently increment the counter we could totally
screw over the comparision of entries (see a() in NextTickListEntry),
as it compares only the time when the entry will tick, the priority
at which it will tick, and the counter. The block is not compared.
Async loading loads the chunk asynchronously which creates these
entries asynchronously.
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions