Lines Matching defs:PollCondVar
25 /// Creates a [`PollCondVar`] initialiser with the given name and a newly-created lock class.
29 $crate::sync::poll::PollCondVar::new(
60 /// Register this [`PollTable`] with the provided [`PollCondVar`], so that it can be notified
62 pub fn register_wait(&self, file: &File, cv: &PollCondVar) {
66 // * Since `PollCondVar` is pinned, its destructor is guaranteed to run before the memory
80 pub struct PollCondVar {
85 impl PollCondVar {
94 // Make the `CondVar` methods callable on `PollCondVar`.
95 impl Deref for PollCondVar {
104 impl PinnedDrop for PollCondVar {
117 /// A [`KBox<PollCondVar>`] that uses `kfree_rcu`.
119 /// [`KBox<PollCondVar>`]: PollCondVar
128 inner: PollCondVar,
132 // SAFETY: PollCondVar is Send
134 // SAFETY: PollCondVar is Sync
138 /// Constructs a new boxed [`PollCondVar`].
142 inner <- PollCondVar::new(name, key),
156 type Target = PollCondVar;
157 fn deref(&self) -> &PollCondVar {