within the Foundation module, there are a number of declarations with extremely high deprecation version numbers:
extension OperationQueue {
// These two functions are inherently a race condition and should be avoided if possible
@available(OSX, introduced: 10.5, deprecated: 100000,
message: "access to operations is inherently a race condition, it should not be used. For barrier style behaviors please use addBarrierBlock: instead")
open var operations: [Operation] {
get {
return _operations(includingBarriers: false)
}
}
}
do these numbers have any significance? can 100000
be safely clipped to UInt16.max
?