Standard way to send code to main (kernel/ui) thread from worker thread
Aperta
- Lingua principale
- Python
- Stelle
- 734
- Fork
- 412
- Merge medio
- 1g 5h
- PR unite (30g)
- 8
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.