Michael Sparks wrote:
...
> Indeed - Greenlets allows you to build the functionality you propose without
> having to change the language.
>
>
>>>For example, with Greenlets you would use the .switch() method of a
>>
>>specific greenlet instance to switch to it, and with my python-native
>>thr
On Sunday 26 Jun 2005 12:04, Adam Olsen wrote:
> On 6/26/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> > Have a look at stackless python. http://www.stackless.com/
> On 6/26/05, Florian Schulze <[EMAIL PROTECTED]> wrote:
> > Also look at greenlets, they are in the py lib http://codespeak.net/py
On 6/26/05, Adam Olsen <[EMAIL PROTECTED]> wrote:
...
> To resolve these problems I propose adding lightweight cooperative
> threads to Python.
Speaking of lightweight cooperative threads - has anyone recently
tried to build Python with the pth option? It doesn't quite work out
of the box. How m
At 05:04 AM 6/26/2005 -0600, Adam Olsen wrote:
>On 6/26/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> > Have a look at stackless python. http://www.stackless.com/
>
>On 6/26/05, Florian Schulze <[EMAIL PROTECTED]> wrote:
> > Also look at greenlets, they are in the py lib http://codespeak.net/py
On 6/26/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> Have a look at stackless python. http://www.stackless.com/
On 6/26/05, Florian Schulze <[EMAIL PROTECTED]> wrote:
> Also look at greenlets, they are in the py lib http://codespeak.net/py
While internally Stackless and Greenlets may (or may
Also look at greenlets, they are in the py lib http://codespeak.net/py
Regards,
Florian Schulze
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/pyt
On 26-jun-2005, at 11:34, Adam Olsen wrote:
>
> To resolve these problems I propose adding lightweight cooperative
> threads to Python. They can be built around a Frame object,
> suspending
> and resuming like generators do.
>
> That much is quite easy. Avoiding the C stack is a bit harder.
There are some very serious problems with threads today. Events are
often proposed as a solution to these problems, but they have their own
issues. A detailed analysis of the two options and some solutions
(most of which are used in my proposal) can be found in Why Events Are
A Bad Idea [0]. I'm