There was an error while loading. Please reload this page.
1 parent 29ebbaa commit 7c19a4fCopy full SHA for 7c19a4f
src/swift/Time.swift
@@ -16,7 +16,7 @@
16
17
import CDispatch
18
19
-public struct DispatchTime : Comparable {
+public struct DispatchTime : Comparable, Sendable {
20
#if HAVE_MACH
21
private static let timebaseInfo: mach_timebase_info_data_t = {
22
var info = mach_timebase_info_data_t(numer: 1, denom: 1)
@@ -96,7 +96,7 @@ extension DispatchTime {
96
}
97
98
99
-public struct DispatchWallTime : Comparable {
+public struct DispatchWallTime : Comparable, Sendable {
100
public let rawValue: dispatch_time_t
101
102
public static func now() -> DispatchWallTime {
0 commit comments