Skip to content

Is request_redraw thread-safe? #5762

Answered by ogoffart
hellozyemlya asked this question in Q&A
Discussion options

You must be logged in to vote

No.
In general, you should only call Slint related functions in the main thread.
With the exception of slint::invoke_from_event_loop and slint::blocking_invoke_from_event_loop

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hellozyemlya
Comment options

@ogoffart
Comment options

Answer selected by hellozyemlya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants