rough-minister-58256
07/11/2018, 11:51 PMrough-minister-58256
07/11/2018, 11:54 PMPlatform
?rough-minister-58256
07/11/2018, 11:54 PMPythonIdentity
?rough-minister-58256
07/11/2018, 11:55 PMrough-minister-58256
07/11/2018, 11:55 PMrough-minister-58256
07/11/2018, 11:56 PMrough-minister-58256
07/11/2018, 11:57 PMaloof-angle-91616
07/12/2018, 11:21 AMaloof-angle-91616
07/12/2018, 12:14 PMaverage-vr-56795
07/12/2018, 3:04 PMEntryState
, and put dirty `EntryId`s into an Arc<RwLock<HashSet<EntryId>>>
which is shared between the Graph
and each Entry
, so that when batch invalidations happen, Graph
can just graph the lock and invalidate them all, but when `Node`s complete, they can try for the lock as they need in an ad-hoc way… I’ve just hacked that together, and it seems to work… How does it sound to you?average-vr-56795
07/12/2018, 3:04 PMEntry
will have to acquire both its EntryState
mutex and its dirty-set mutex, which isn’t ideal…witty-crayon-22786
07/12/2018, 3:05 PMaverage-vr-56795
07/12/2018, 3:07 PMwitty-crayon-22786
07/12/2018, 3:33 PMwitty-crayon-22786
07/12/2018, 3:34 PMwitty-crayon-22786
07/12/2018, 3:35 PMwitty-crayon-22786
07/12/2018, 3:53 PMwitty-crayon-22786
07/12/2018, 3:53 PMenough-analyst-54434
07/12/2018, 3:53 PMwitty-crayon-22786
07/12/2018, 3:54 PMenough-analyst-54434
07/12/2018, 3:54 PMenough-analyst-54434
07/12/2018, 3:54 PMwitty-crayon-22786
07/12/2018, 3:55 PMaverage-vr-56795
07/12/2018, 4:09 PMdirty
from EntryState
would look likeaverage-vr-56795
07/12/2018, 4:10 PMwitty-crayon-22786
07/12/2018, 4:15 PMinvalidate
and complete
about the invariant, and leave it as is in the PRwitty-crayon-22786
07/12/2018, 4:15 PMcomplete
happening under the lock)witty-crayon-22786
07/12/2018, 4:16 PMEntry::complete
?witty-crayon-22786
07/12/2018, 4:19 PMwitty-crayon-22786
07/12/2018, 4:19 PM