Search code examples
concurrencylinux-kernelmulticore

Do concurrency issues in kernel happen when using single core processor?


When a kernel is compiled on a multicore system, there will be multiple threads or processes operating simultaneously. So, concurrency problem will be an issue.

However, when there is only one core in the processor. will it still be a problem?


Solution

  • Of course. Imagine that your worst enemy has total control of the scheduler and can make the processor switch from one thread to another thread at the worst possible time.