Standard way to send code to main (kernel/ui) thread from worker thread
Open
- Dominant language
- Python
- Stars
- 734
- Forks
- 412
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 8
Description
lib.backgroundjobs provdes an interface to run code in the background, but I see no simple way of sending code back to the main thread to execute in the main thread, i e to update a matplotlib plot during a long simulation. I guess I can hack it and directly use the thread-safe interface of whatever ui eventloop that happens to be used (Qt5 currently), but is there a standard recommended interface to do this?
Contributor guide
Assessment
This issue has not been assessed yet.