Set the thread to exit.
(&self)
| 141 | |
| 142 | /// Set the thread to exit. |
| 143 | pub fn set_exit(&self) { |
| 144 | self.exit.store(true, Ordering::Release); |
| 145 | } |
| 146 | |
| 147 | /// Check if the thread is accessing user memory. |
| 148 | pub fn is_accessing_user_memory(&self) -> bool { |