Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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