Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
I need to replace the use of 'greenlets' in an application with threads or processes, but as I've never used greenlets, I don't know where to start when replacing them. Could anyone explain to me how I can do this? -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Emile van Sebille
On 12/28/2010 6:59 AM Nathanael Abbotts said... I need to replace the use of 'greenlets' in an application with threads or processes, but as I've never used greenlets, I don't know where to start when replacing them. Could anyone explain to me how I can do this? Looks like your choice may be

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
Processes are better for me - the application is already multiprocessing based. -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Some loss of functionality isn't a problem, as the code only seems to use the most basic features of Greenlets. --

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Emile van Sebille
On 12/28/2010 8:07 AM Nathanael Abbotts said... That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Are you working with pycsp? the info at http://code.google.com/p/pycsp/wiki/Getting_Started_With_PyCSP says:

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
On Tuesday, December 28, 2010 5:04:48 PM UTC, Emile van Sebille wrote: On 12/28/2010 8:07 AM Nathanael Abbotts said... That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Are you working with pycsp? the info