File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ extension FileDescriptor {
1414 ///
1515 /// The corresponding C type is `struct flock`.
1616 @frozen
17- public struct FileLock : RawRepresentable {
17+ public struct FileLock : RawRepresentable , Sendable {
1818 @_alwaysEmitIntoClient
1919 public var rawValue : CInterop . FileLock
2020
@@ -93,7 +93,7 @@ extension FileDescriptor.FileLock {
9393 /// The kind or type of a lock: read (aka "shared"), write (aka "exclusive"), or none
9494 /// (aka "unlock").
9595 @frozen
96- public struct Kind : RawRepresentable , Hashable {
96+ public struct Kind : RawRepresentable , Hashable , Sendable {
9797 @_alwaysEmitIntoClient
9898 public var rawValue : CInterop . CShort
9999
Original file line number Diff line number Diff line change 55///
66/// The corresponding C type is `pid_t`
77@frozen
8- public struct ProcessID : RawRepresentable , Hashable {
8+ public struct ProcessID : RawRepresentable , Hashable , Sendable {
99 @_alwaysEmitIntoClient
1010 public var rawValue : CInterop . PID
1111
You can’t perform that action at this time.
0 commit comments