Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocketConnection: Priority inversion error on macOS 13 #109

Open
ryanfrancesconi opened this issue Nov 16, 2022 · 0 comments
Open

WebSocketConnection: Priority inversion error on macOS 13 #109

ryanfrancesconi opened this issue Nov 16, 2022 · 0 comments

Comments

@ryanfrancesconi
Copy link

ryanfrancesconi commented Nov 16, 2022

I'm seeing a priority inversion error running on macOS 13.

image

 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 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant