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

Allow to run a function in main thread for safe workers #42

Draft
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

Neraste
Copy link
Member

@Neraste Neraste commented May 8, 2022

This PR aims to extend possibilities of the safe workers module by allowing any blocking function to be used on the main thread. This is especially targeted for some GUIs that need to run on the main thread.

@Neraste Neraste added enhancement New feature or request refactor Make things more beautiful inside, but same outside labels May 8, 2022
@Neraste Neraste self-assigned this May 8, 2022
@codecov
Copy link

codecov bot commented May 8, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.64%. Comparing base (321a1ec) to head (0dfcf3c).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #42      +/-   ##
===========================================
+ Coverage    99.45%   99.64%   +0.19%     
===========================================
  Files           10       10              
  Lines          548      567      +19     
===========================================
+ Hits           545      565      +20     
+ Misses           3        2       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Neraste added 3 commits July 10, 2022 17:40
Move waiting function interval from class attribute to argument.
Force `run_main` to have the same arguments.
@Neraste Neraste added this to the 1.5.0 milestone Nov 19, 2022
@Neraste Neraste removed this from the 1.5.0 milestone Oct 28, 2024
@Neraste
Copy link
Member Author

Neraste commented Oct 28, 2024

This work is of hold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Make things more beautiful inside, but same outside
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant