3 ms·
> > These "green thread" systems provide concurrency, but not parallelism. > I'm not sure if these specific definitions of "concurrency" and "parallelism" are
by Izkata 7y ago
> > These "green thread" systems provide concurrency, but not parallelism.
> I'm not sure if these specific definitions of "concurrency" and "parallelism" are universal. I wasn't aware of them, at least.
To be clear, since GP didn't define them: concurrency simulates parallelism through context switching. Context switching itself encompasses both cooperative multitasking (gevent does this) and preemptive multitasking (modern operating system threads when they're sharing a CPU).
AFAIK it is universal, but close enough not to matter in most cases so people get lazy with their words.