|
|
|
|
|
by lvh
4920 days ago
|
|
Greenlets are one-shot coroutines (with no implicit scheduling). They generally work with a C extension that slices the stack. In IO frameworks that are greenlet based, the greenlet is resumed when it has stuff waiting for it. The obvious difference to the programmer is that a greenlet won't have yield statements in them, whereas a generator would. |
|