(arc_self: &Arc<Self>)
| 379 | |
| 380 | impl task::ArcWake for GlutinFutureWaker { |
| 381 | fn wake_by_ref(arc_self: &Arc<Self>) { |
| 382 | // If this is the first wake request for this waker... |
| 383 | if let Some(future_id) = arc_self.future_id.lock().unwrap().take() { |
| 384 | // Send a wake request to glutin |
| 385 | glutin_thread().send_event(GlutinThreadEvent::WakeFuture(future_id)); |
| 386 | } |
| 387 | } |
| 388 | } |
nothing calls this directly
no test coverage detected