Kitura / Kitura/Kitura-WebSocket
WebSocketConnection: Priority inversion error on macOS 13
- Dominant language
- Swift
- Stars
- 67
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
I'm seeing a priority inversion error running on macOS 13.

```swift
private func lockWriteLock() {
_ = writeLock.wait(timeout: DispatchTime.distantFuture)
}
```
```
Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
PID: 89678, TID: 1071407
Backtrace
=================================================================
4 ADD 0x0000000105e0502c $s15KituraWebSocket0bC10ConnectionC13lockWriteLock33_F48A757546F02A0B842410745CA0DDF6LLyyF + 180
5 ADD 0x0000000105e04d58 $s15KituraWebSocket0bC10ConnectionC11sendMessage33_F48A757546F02A0B842410745CA0DDF6LL10withOpCode7payload0Q6LengthyAA7WSFrameV11FrameOpcodeO_SVSgSitF + 160
6 ADD 0x0000000105e01214 $s15KituraWebSocket0bC10ConnectionC4send7message8asBinaryy10Foundation4DataV_SbtF + 324
7 ADD 0x0000000105c7f488
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.