|
|
| Previous ID |
SR-1769 |
| Radar |
rdar://problem/26879347 |
| Original Reporter |
@glessard |
| Type |
Bug |
| Status |
Resolved |
| Resolution |
Done |
Environment
Xcode 8 (beta, 8S128d) with Swift 3.0 preview 1
Additional Detail from JIRA
|
|
| Votes |
0 |
| Component/s |
libdispatch |
| Labels |
Bug |
| Assignee |
mww (JIRA) |
| Priority |
Medium |
md5: 4e42e84469231d8d359f27b0d0008de7
Issue Description:
A frequently-used function alongside libdispatch, qos_class_self() did not get updated with the Dispatch module. An equivalent that returns a DispatchQoS instance would be most welcome.
extension DispatchQoS {
static func current() -> DispatchQoS // equivalent to qos_class_self()
static var main: DispatchQoS // equivalent to qos_class_main()
init(qos: qos_class_t) // perhaps with a relativePriority?
}