Skip to content

Comments

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

Draft
Neraste wants to merge 16 commits intodevelopfrom
feature/worker_function_main_thread
Draft

Allow to run a function in main thread for safe workers#42
Neraste wants to merge 16 commits intodevelopfrom
feature/worker_function_main_thread

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 on 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