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

adding the possibility to check if the tick thread is gone #187

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

snubba
Copy link
Contributor

@snubba snubba commented Oct 31, 2024

If a SyncObj is destroyed the thread running _autoTickThread is terminated with a delay. Currently there is not option to check if the thread was already terminated.

This adds the option to check the alive status of this thread and also destroy the SyncObj 'synchron' by checking the thread.
If no such thread is running the tick_thread_alive method returns False, to be able to use if without considering the way it is currently running.

@bakwc bakwc merged commit bd1f800 into bakwc:master Oct 31, 2024
2 checks passed
@snubba snubba deleted the adding_threading_check_option branch October 31, 2024 14:48
@snubba snubba mentioned this pull request Oct 31, 2024
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

Successfully merging this pull request may close these issues.

2 participants