What are the different methods of creating processes in operating systems?
Question:
What are the different methods of creating processes in operating systems?
Answer:
Different methods
of creating processes in general purpose systems are;
- System initialization - Creation of processes during system initialization
- Create process system call - takes a program name or a stream with the program data
- Copy process system call - a strange way of doing it but is now very widespread. The parent process is copied almost entirely, with changes only to the unique process id, parent process, and user-space. Each new process gets its own user space.
- Create a new terminal session
- Through initialization of batch jobs. Batch job is a collection, or list, of commands that are processed in sequence often without requiring user input or intervention. Batch files are often used to help load programs, run multiple processes at a time, and perform common or repetitive tasks.
***********************
Related Questions:
No comments:
Post a Comment