Lines Matching +full:wait +full:- +full:pin
1 // SPDX-License-Identifier: GPL-2.0
14 /// waking up other tasks that have been queued up to wait for the [`Completion`] to be completed.
24 /// #[pin]
26 /// #[pin]
35 /// fn new() -> Result<Arc<Self>> {
37 /// work <- new_work!("MyTask::work"),
38 /// done <- Completion::new(),
68 #[pin]
80 pub fn new() -> impl PinInit<Self> { in new()
82 inner <- Opaque::ffi_init(|slot: *mut bindings::completion| { in new()
89 fn as_raw(&self) -> *mut bindings::completion { in as_raw()
102 /// Wait for completion of a task.