"OSSpinLock is unsafe [on iOS] unless you can guarantee that all users have the same priority." https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000344.html …
-
-
@Catfish_Man your follow-ups are gold. Thanks for sharing! -
@steipete@catfish_man so this isn't safe on iOS then? https://github.com/ReactiveCocoa/ReactiveCocoa/blob/master/ReactiveCocoa/Swift/Atomic.swift … Why is it a public API then?
-
@NachoSoto@steipete that’s relatively safe. Even under CPU starvation that critical section is so tiny it’s likely ok in real situations.
-
-
-
@Catfish_Man@steipete What about CAS and other atomic primitives? -
@zwaldowski@steipete non-blocking, so should be fine. Don’t use ‘em to write your own spinlocks though.
-
-
-
@Catfish_Man@steipete what’s “new”? -
@Catfish_Man thanks!
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Peter Steinberger
David Smith
Nacho Soto
Scary Zach Waldowski