3 ms·
My understanding is that OS thread operations require the processor/OS to switch between user mode and kernel mode, which is slow. Virtual threads don't require
by sidpatil 4y ago
My understanding is that OS thread operations require the processor/OS to switch between user mode and kernel mode, which is slow. Virtual threads don't require this, since they are managed entirely by the user process.
- belter 4y agoCorrect. This is the main reason.