File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ extension FileDescriptor {
14
14
///
15
15
/// The corresponding C type is `struct flock`.
16
16
@frozen
17
- public struct FileLock : RawRepresentable {
17
+ public struct FileLock : RawRepresentable , Sendable {
18
18
@_alwaysEmitIntoClient
19
19
public var rawValue : CInterop . FileLock
20
20
@@ -93,7 +93,7 @@ extension FileDescriptor.FileLock {
93
93
/// The kind or type of a lock: read (aka "shared"), write (aka "exclusive"), or none
94
94
/// (aka "unlock").
95
95
@frozen
96
- public struct Kind : RawRepresentable , Hashable {
96
+ public struct Kind : RawRepresentable , Hashable , Sendable {
97
97
@_alwaysEmitIntoClient
98
98
public var rawValue : CInterop . CShort
99
99
Original file line number Diff line number Diff line change 5
5
///
6
6
/// The corresponding C type is `pid_t`
7
7
@frozen
8
- public struct ProcessID : RawRepresentable , Hashable {
8
+ public struct ProcessID : RawRepresentable , Hashable , Sendable {
9
9
@_alwaysEmitIntoClient
10
10
public var rawValue : CInterop . PID
11
11
You can’t perform that action at this time.
0 commit comments