atomic Can Be Fun For Anyone
In case you think about the strategies AtomicInteger has, you can see that they have a tendency to correspond to common functions on ints. For instance:So when safeguarding your self from an interrupt you usually disable interrupts briefly and afterwards re-permit. Possessing the components do this it insures that regardless of whether an interrupt