Processes Concept

With all these components put together into the system, how then does the operating system enable processes to share and exchange information? Well, the whole processes concept comes into play. This concept happens in program execution from start to finish. A processes is “a program in execution” (Silberschatz, A., Galvin, P. B., & Gagne, G, 2014).                                                                                                                                                                    
Every program written by the user is in a form of a file, specifically a text file. Once executed the program becomes a process that is split into four areas. These four sections are the text section, stack, and heap and data sections. A stack is a temporary storage for data such as return addresses, parameters and local variables (Silberschatz, A., Galvin, P. B., & Gagne, G, 2014). In the stack process either an item can be pushed to the top or popped. Whenever a new function is called, a new stack frame is created. The term “grow down” signifies the start of a high address but then a gradual slow down. The heap is a part of memory that is managed by process. This allows the user to allocate the free call.Process state and process control block are parts of the process and program execution. In particular, memory management is associated with the process control block which includes the PC, CPU registers and scheduling. Operating Systems

Comments

Popular Posts