Re: running functions

2005-11-21 Thread [EMAIL PROTECTED]
Tom Anderson wrote: > > If you program threads with shared nothing and communication over Queues > > you are, in effect, using processes. If all you share is read-only > > memory, similarly, you are doing "easy" stuff and can get away with it. > > In all other cases you need to know things like "w

Re: running functions

2005-11-18 Thread Tom Anderson
On Thu, 17 Nov 2005, Scott David Daniels wrote: > Gorlon the Impossible wrote: > >> I have to agree with you there. Threading is working out great for me >> so far. The multiprocess thing has just baffled me, but then again I'm >> learning. Any tips or suggestions offered are appreciated... > > Th

Re: running functions

2005-11-17 Thread Donn Cave
Quoth Grant Edwards <[EMAIL PROTECTED]>: | On 2005-11-18, Scott David Daniels <[EMAIL PROTECTED]> wrote: | > Gorlon the Impossible wrote: | > | >> I have to agree with you there. Threading is working out great for me | >> so far. The multiprocess thing has just baffled me, but then again I'm | >> l

Re: running functions

2005-11-17 Thread Grant Edwards
On 2005-11-18, Scott David Daniels <[EMAIL PROTECTED]> wrote: > Gorlon the Impossible wrote: > >> I have to agree with you there. Threading is working out great for me >> so far. The multiprocess thing has just baffled me, but then again I'm >> learning. Any tips or suggestions offered are apprecia

Re: running functions

2005-11-17 Thread Scott David Daniels
Gorlon the Impossible wrote: > I have to agree with you there. Threading is working out great for me > so far. The multiprocess thing has just baffled me, but then again I'm > learning. Any tips or suggestions offered are appreciated... The reason multiprocess is easier is that you have enforced

Re: running functions

2005-11-17 Thread Gorlon the Impossible
On Thu, 17 Nov 2005 23:29:16 +, Tom Anderson <[EMAIL PROTECTED]> wrote: >On Wed, 16 Nov 2005, [EMAIL PROTECTED] wrote: > >> Gorlon the Impossible wrote: >> >>> Is it possible to run this function and still be able to do other >>> things with Python while it is running? Is that what threading

Re: running functions

2005-11-17 Thread Tom Anderson
On Wed, 16 Nov 2005, [EMAIL PROTECTED] wrote: > Gorlon the Impossible wrote: > >> Is it possible to run this function and still be able to do other >> things with Python while it is running? Is that what threading is >> about? > > Threading's a good answer if you really need to share all your me

Re: running functions

2005-11-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: . . . >the fly' so to speak. I checked out the threading module and its >working for what I am trying to do at the moment, but I am open to >sugg

Re: running functions

2005-11-16 Thread Gorlon the Impossible
On Thu, 17 Nov 2005 00:08:02 GMT, [EMAIL PROTECTED] (Cameron Laird) wrote: >In article <[EMAIL PROTECTED]>, >Grant Edwards <[EMAIL PROTECTED]> wrote: >>On 2005-11-16, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: >> >>> I'm not sure how to phrase this question. I have a Python function >>> tha

Re: running functions

2005-11-16 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Grant Edwards <[EMAIL PROTECTED]> wrote: >On 2005-11-16, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: > >> I'm not sure how to phrase this question. I have a Python function >> that sends MIDI messages to a synth. When I run it, I of course have >> to wait until

Re: running functions

2005-11-16 Thread [EMAIL PROTECTED]
Gorlon the Impossible wrote: > Hello > I'm not sure how to phrase this question. I have a Python function > that sends MIDI messages to a synth. When I run it, I of course have > to wait until it is finished before I can do anything else with > Python. Is it possible to run this function and still

Re: running functions

2005-11-16 Thread Ben Finney
Gorlon the Impossible <[EMAIL PROTECTED]> wrote: > I'm not sure how to phrase this question. I have a Python function > that sends MIDI messages to a synth. When I run it, I of course have > to wait until it is finished before I can do anything else with > Python. Is it possible to run this functio

Re: running functions

2005-11-16 Thread Grant Edwards
On 2005-11-16, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: > I'm not sure how to phrase this question. I have a Python function > that sends MIDI messages to a synth. When I run it, I of course have > to wait until it is finished before I can do anything else with > Python. Is it possible to

running functions

2005-11-16 Thread Gorlon the Impossible
Hello I'm not sure how to phrase this question. I have a Python function that sends MIDI messages to a synth. When I run it, I of course have to wait until it is finished before I can do anything else with Python. Is it possible to run this function and still be able to do other things with Python