Open
Description
Previous ID | SR-2207 |
Radar | None |
Original Reporter | @glessard |
Type | Improvement |
Environment
Xcode 8 beta 3
Additional Detail from JIRA
Votes | 0 |
Component/s | libdispatch |
Labels | Improvement |
Assignee | mww (JIRA) |
Priority | Medium |
md5: 0a7258f71072fa80ec0950f50cd68e37
Issue Description:
The rest of the new Dispatch overlay makes good use of defaults, but this parameter was passed over somehow. It would make sense to have a default of 0, that surely is the most commonly-passed parameter.
public struct DispatchQoS : Equatable {
public init(qosClass: QoSClass, relativePriority: Int = 0) {
self.qosClass = qosClass
self.relativePriority = relativePriority
}
}