Standard way to send code to main (kernel/ui) thread from worker thread
未关闭
- 主要语言
- Python
- 星标
- 734
- 派生
- 412
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 8
描述
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?
贡献指南
评估
这个 Issue 还没有评估数据。