[swift-users] Any equivalent to Java's AtomicInteger?

Rick Mann rmann at latencyzero.com
Mon Nov 21 21:55:24 CST 2016


A lot of architectures provide CPU support for atomic increment and the like. <stdatomic.h> does, too, but most of it is unavailable in Xcode 8.1.

Is there a Swift AtomicInteger? Is that worth adding to the language?

-- 
Rick Mann
rmann at latencyzero.com




More information about the swift-users mailing list