Signal the other side that it should wake up and check the queue.
(&self)
| 47 | |
| 48 | /// Signal the other side that it should wake up and check the queue. |
| 49 | pub fn notify(&self) { |
| 50 | self.signaled.store(true, Ordering::Release); |
| 51 | } |
| 52 | |
| 53 | /// Check if a notification is pending and clear it. |
| 54 | /// Returns `true` if there was a pending notification. |