osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mutiprocessing gui


Op 2017-09-11, Antoon Pardon schreef <antoon.pardon at vub.be>:
> When one wants to combine multithreading and gui programming
> all sorts of issues arise. So I wonder how one might combine
> multiprocessing with gui programming.
>
> gui libraries typically have some registration mechanisme,
> where you can register a call back for when data is available
> on a network connection. Could one write a wrapper so that
> the multiprocessing.Queue or multiprocessing.Pipe could be
> usable like that?

Are you aware of Quamash?
This allows you to combine a Qt GUI with asyncio-style code for,
say, handing network connections.

https://github.com/harvimt/quamash

Stephan