-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
8d036ce
commit 10c29e7
Showing
1 changed file
with
53 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters