Comment by ori_b
The problem is that C expects to have enough stack to put stuff there, but green threads allocate small stacks to reduce (virtual) memory use.
The problem is that C expects to have enough stack to put stuff there, but green threads allocate small stacks to reduce (virtual) memory use.
That’s not a problem when a dedicated thread pool is used as mentioned by GP. However they don’t solve the thread affinity issue.