Skip to content

Commit

Permalink
fix wrong cross module usage; seems this was not caught by CI / Swift…
Browse files Browse the repository at this point in the history
…PM (#981)
  • Loading branch information
ktoso authored Jul 5, 2022
1 parent 87c9239 commit 5231975
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/DistributedActorsConcurrencyHelpers/lock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import Darwin
import Glibc
#endif

import CDistributedActorsMailbox // for backtrace

/// A threading lock based on `libpthread` instead of `libdispatch`.
///
/// This object provides a lock on top of a single `pthread_mutex_t`. This kind
Expand Down Expand Up @@ -52,7 +50,6 @@ public final class Lock {
public func lock() {
let err = pthread_mutex_lock(self.mutex)
if (err != 0) {
sact_dump_backtrace()
fatalError("\(#function) failed in pthread_mutex with error \(err)")
}
}
Expand Down

0 comments on commit 5231975

Please sign in to comment.