Can a single cpu kernel run only a single process or thread at a point in time?

this is the concept of process / thread / concurrency / cpu scheduling that I extracted from the network:

  • process is a computing activity of programs that can be executed concurrently on a certain data set, and it is also the basic unit of resource allocation and scheduling for the operating system.
  • Thread is an entity that can execute concurrently in the process of the operating system, and is the basic unit of processor scheduling and dispatch.
  • concurrency , multiple tasks on the same CPU core take turns (alternately) according to subdivided time slices, and logically those tasks are executed at the same time. For the CPU kernel, tasks are still executed in a fine-grained serial fashion.
  • simultaneous execution is not really simultaneous execution, because only one process can execute at any one time in a single cpu kernel.

then, I have some questions:

  1. cpu is actually concerned with threads, and processes are just a collection of threads, that is, abstract concepts, which do not actually exist.
  2. The so-called concurrency in
  3. actually describes thread concurrency. Because cpu only knows threads, it is also threads that are scheduled in the end.
Is that how you understand

?

Jan.21,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bde87b-3141c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bde87b-3141c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?