Skip to main content

Module readiness

Module readiness 

Source

Re-exportsΒ§

use std::assert_matches; πŸ”’
use std::cell::RefCell; πŸ”’
use std::collections::BTreeMap; πŸ”’
use std::collections::VecDeque; πŸ”’
use std::rc::Rc; πŸ”’
use std::rc::Weak; πŸ”’
use crate::concurrency::VClock; πŸ”’
use crate::shims::files::DynFileDescriptionRef; πŸ”’
use crate::shims::files::FdNum; πŸ”’
use crate::shims::files::WeakDynFileDescriptionRef; πŸ”’
use crate::shims::*; πŸ”’
use crate::*; πŸ”’

StructsΒ§

DelayedReadinessUpdates
If a file description’s readiness is known to change but we don’t have an ecx around to update it immediately, we arange for a referene to the delayed readiness updates queue to be available and perform the update on the next scheduler call.
Readiness
Struct reflecting the readiness of a file description.
ReadinessInterest
ReadinessUpdateFlags
ReadinessWatched
Data about a file description that can be watched for readiness (meant to be stored inside said file description).
ReadinessWatcher
A struct which stores ReadinessInterests for a set of file descriptions together with which interests are currently satisfied, and a list of threads which should be unblocked once a ReadinessInterest of the watcher is fulfilled.

TraitsΒ§

EvalContextExt
EvalContextPrivExt

FunctionsΒ§

range_for_id πŸ”’
Returns the range of all ReadinessInterestKey for the given FD ID.

Type AliasesΒ§

ReadinessInterestKey πŸ”’