Push a task ID onto the ready queue (called by `TaskWaker`).
(&self, id: u128)
| 126 | |
| 127 | /// Push a task ID onto the ready queue (called by `TaskWaker`). |
| 128 | pub fn queue(&self, id: u128) { |
| 129 | self.ready.lock().unwrap().push(id); |
| 130 | } |
| 131 | |
| 132 | /// Drain the entire ready queue into a `Vec` for the current polling round. |
| 133 | pub fn drain(&self) -> Vec<u128> { |
no test coverage detected