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

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

spawning a process using os.spawn

2009-06-09 Thread rkmr...@gmail.com
hi im spawning a script that runs for a long from a web app like this: os.spawnle(os.P_NOWAIT, "../bin/producenotify.py", "producenotify.py", "xx",os.environ) the script is spawned and it runs, but till it gets over i am not able to free the port that is used by the web app, or in other words i