Replaces the value in the atomic integer by a new one with relaxed ordering guarantees.
impl AtomicIsize {
fn exchange_weak(&self, val: isize) -> isize
}| Name | Description |
|---|---|
| val | The value to be stored in the atomic integer. |
Returns the previous value.