We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c9239 commit 5231975Copy full SHA for 5231975
Sources/DistributedActorsConcurrencyHelpers/lock.swift
@@ -18,8 +18,6 @@ import Darwin
18
import Glibc
19
#endif
20
21
-import CDistributedActorsMailbox // for backtrace
22
-
23
/// A threading lock based on `libpthread` instead of `libdispatch`.
24
///
25
/// This object provides a lock on top of a single `pthread_mutex_t`. This kind
@@ -52,7 +50,6 @@ public final class Lock {
52
50
public func lock() {
53
51
let err = pthread_mutex_lock(self.mutex)
54
if (err != 0) {
55
- sact_dump_backtrace()
56
fatalError("\(#function) failed in pthread_mutex with error \(err)")
57
}
58
0 commit comments