线程安全 AtomicInteger和线程不安全int

多线程情况下AtomicInteger是线程安全的,而int是线程不安全的

原文地址:https://www.cnblogs.com/honghong75042/p/13282688.html