Skip to content

Commit

Permalink
linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danthorpe committed May 11, 2024
1 parent 70a891c commit ae5a2b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Protected/Protected.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ extension Lockable where Self: Lock {
return try block()
}
}

#if os(iOS) || os(watchOS) || os(tvOS) || os(macOS)
final class UnfairLock: Lock, Lockable {
private var unfairLock: os_unfair_lock_t
Expand Down

0 comments on commit ae5a2b9

Please sign in to comment.