if the process of running currently excuting it is running
Answers
Answer:
In a classic Unix scheduler, only an interrupt can take a process from the running state to ready, because it requires an interrupt to decrement a process's timeslice to zero. This is generally a timer interrupt, as that is what records the passage of time.
Answer:
A process is basically a program in execution. The execution of a process must progress in a sequential fashion.
A process is defined as an entity which represents the basic unit of work to be implemented in the system.
To put it in simple terms, we write our computer programs in a text file and when we execute this program, it becomes a process which performs all the tasks mentioned in the program.
When a program is loaded into the memory and it becomes a process, it can be divided into four sections ─ stack, heap, text and data. The following image shows a simplified layout of a process inside main memory −