Re: moving to processing from threading, global variables

2009-04-12 Thread Dave Angel
rkmr...@gmail.com wrote: no one? how can i share variables in processing? please help out! On Thu, Apr 9, 2009 at 8:05 AM, rkmr...@gmail.com wrote: hi i am trying to move from threading to processing package. this is the controller i used to spawn new threads, and it used the global variab

Re: moving to processing from threading, global variables

2009-04-12 Thread MRAB
rkmr...@gmail.com wrote: no one? It's Easter! :-) how can i share variables in processing? please help out! Threads run in the same address space, so they can share variables; processes run in different address spaces, so they can't (normally). You'll need to read the documentation careful

Re: moving to processing from threading, global variables

2009-04-12 Thread rkmr...@gmail.com
no one? how can i share variables in processing? please help out! On Thu, Apr 9, 2009 at 8:05 AM, rkmr...@gmail.com wrote: > hi > i am trying to move from threading to processing package. this is the > controller i used to spawn new threads, and it used the global > variable done to check if it

moving to processing from threading, global variables

2009-04-09 Thread rkmr...@gmail.com
hi i am trying to move from threading to processing package. this is the controller i used to spawn new threads, and it used the global variable done to check if it needs to spawn more threads or not. it worked great for me. it checks if there is new data to be processed every 30 seconds, and spawn