Is request_redraw thread-safe? #5762
Answered
by
ogoffart
hellozyemlya
asked this question in
Q&A
-
Is request_redraw thread-safe? |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Aug 5, 2024
Replies: 1 comment 2 replies
-
No. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hellozyemlya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No.
In general, you should only call Slint related functions in the main thread.
With the exception of
slint::invoke_from_event_loop
andslint::blocking_invoke_from_event_loop