What is the difference between concurrency and parallelism? What is the difference between a large kernel and a micro kernel? What is the difference between a time-sharing system and a real-time system?What is the difference between static link and dynamic link?What are the stages of compilation?
What is the difference between concurrency and parallelism? Concurrency means that multiple tasks will be processed within a period of time; but at a certain moment, only one task is executing. Single-core processors can achieve concurrency. For example, there are two processes A and B. After A runs for a time slice, it switches to B, and B runs for a time slice and then switches to A. Because the switching speed is fast enough, the macroscopically shows that multiple programs can be run at the same time within a period of time. Parallel means that there are multiple tasks being executed at the same time. This requires a multi-core processor to complete, and multiple instructions can be executed at the same time at the microscopic level. Different programs are run on different processors. This is a physical process of multiple processes at the same time. What is the difference between a large kernel and a micro kernel? The big kernel is to put all the functions of the oper