Skip to content

Achieving thread-safe destruction of generated QObject #1240

Answered by SanderVocke
SanderVocke asked this question in Q&A
Discussion options

You must be logged in to vote

As for the use-case: it is for a realtime audio app, where the object should keep getting updated and executing part of its functionality even if the GUI thread hangs.

I think the best approach for this would be to totally separate the asynchronous code into a separate object.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@LeonMatthesKDAB
Comment options

@SanderVocke
Comment options

@SanderVocke
Comment options

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

This discussion was converted from issue #1239 on March 25, 2025 14:38.