Skip to main content

disk_forbidden

Function disk_forbidden 

pub fn disk_forbidden() -> bool
Expand description

Whether this thread must not touch the disk at all, so a store does its disk work elsewhere and answers “not yet” (wake): a thread that declined it, and every forbidden thread but one under forbid_commit_waits_strictly, whose code still reads the disk itself.