Зеленые нити и нить в Python

КакWikipedia states:

Green threads emulate multi-threaded environments without relying on any native OS capabilities, and they are managed in user space instead of kernel space, enabling them to work in environments that do not have native thread support.

Потоки Python реализованы какpthreads (kernel threads), and because of the global interpreter lock (GIL), a Python process only runs one thread at a time.

[QUESTION] But in the case of Green-threads (или так называемые гринлеты или тасклеты),

Does the GIL affect them? Can there be more than one greenlet running at a time? What are the pitfalls of using greenlets or tasklets? If I use greenlets, how many of them can a process can handle? (I am wondering because in a single process you can open threads up to ulimit(-s, -v) set in your *ix system.)

Мне нужно немного понять, и было бы полезно, если бы кто-то мог поделиться своим опытом или направить меня на правильный путь.

Ответы на вопрос(2)

Ваш ответ на вопрос