Re: Threads

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03ifFtmAXZOBBVSqAh5GTDttTwPWZXk=7SUQrjan=6OQkw@mail.gmail.com>
I'll mention that the graph module (vis/graph.py) uses the threading
module in order to implement the crosshairs for reading a point on the
graph when you drag the mouse over a graph with the left button down.

Bruce Sherwood

On Thu, Nov 3, 2011 at 8:18 AM, Jason Morgan <j.a.morgan-puGfsi27rH1aa/[email protected]> wrote:
>
> I've had lots of success with multiprocessing, wx and visual.
>
> I've got a visual app which uses two multiprocessing processes as well as a
> wx app with message queues between all of them and it works perfectly.
> I even get the frame rate I ask for.....
>
> Make your visual app run as a multiprocessing.Process, then start other
> processes and/or wx as you like.
>
> The other process is one that creates a named pipe to allow external
> programs to interact with either wx or visual using multiprocessing.Queue.
>
> Cheers,
> jason

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.