Skip to content

Conversation

@jnsebgosselin
Copy link
Member

@jnsebgosselin jnsebgosselin commented Sep 4, 2025

In this PR, we refactor the thread lifecycle management in TaskManagerBase to use a signal-driven approach. Instead of polling with qtwait, we now rely on the QThread.finished signal to trigger pending task execution. This avoids blocking, recursion, and potential deadlocks, resulting in cleaner and more robust thread management.

@jnsebgosselin jnsebgosselin added this to the 0.9.1 milestone Sep 4, 2025
@jnsebgosselin jnsebgosselin added the enhancement New feature or request label Sep 4, 2025
@jnsebgosselin jnsebgosselin self-assigned this Sep 4, 2025
@jnsebgosselin jnsebgosselin added the bug Something isn't working label Sep 4, 2025
@jnsebgosselin jnsebgosselin merged commit 9b06478 into main Sep 4, 2025
1 check passed
@jnsebgosselin jnsebgosselin deleted the use_wait_not_qtwait branch September 4, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants