Question

The Windows CreateProcess() system call creates a new process. What is the equivalent system call in...

The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX?

NTCreateProcess()

fork()

process()

getpid()

Homework Answers

Answer #1

Ans. fork()

Explanation - Process is a running instance of a program.processes are created through different system calls , one of them is fork().This system call help parent process in creating child process .child process is an exact duplicate of parent process.The child process has an exact copy of all the memory of the parent process.The child process receives a process number (PID) of its own from the operating system.

Execution of parent process is suspended until child process executes.Return value of fork indicates the process we are in .

0-Means we are in child process

positive number means we are in parent process

negative number means error ocurred.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The following program calls the fork() system call to create a child process. Suppose that the...
The following program calls the fork() system call to create a child process. Suppose that the actual pids of the parent process and child process are as follows: Parent process: 801 Child process:   802 (as returned by fork) Assume all supporting libraries have been included. => Use the answer text field to write the values of the pids printed at lines 1, 2, 3, and 4 (indicate each line number and the value printed). int main() {      pid_t pid,...
In the 1974 paper The UNIX Time-Sharing System, Dennis Ritchie and Ken Thompson of Bell Laboratories...
In the 1974 paper The UNIX Time-Sharing System, Dennis Ritchie and Ken Thompson of Bell Laboratories describe the original implementation of forking processes as follows: Except while UNIX is bootstrapping itself into operation, a new process can come into existence only by use of the fork system call: processid = fork(label) When fork is executed by a process, it splits into two independently executing processes. The two processes have independent copies of the original core image, and share any open...
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course...
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course to allow the students to figure out how a single process (parent process) creates a child process and how they work on Unix/Linux(/Mac OS X/Windows) environment. Additionally, student should combine the code for describing inter-process communication into this assignment. Both parent and child processes interact with each other through shared memory-based communication scheme or message passing scheme. Environment: Unix/Linux environment (VM Linux or Triton...
What are equivalent units? Why are they needed with a process costing system?
What are equivalent units? Why are they needed with a process costing system?
Recommend an appropriate desktop operating system to replace Windows 7 and explain what advantages the operating...
Recommend an appropriate desktop operating system to replace Windows 7 and explain what advantages the operating system would have over Windows 7. You can draw on your personal experience to answer this question.
The production manager of Northern Windows, Inc., has asked you to evaluate a proposed new procedure...
The production manager of Northern Windows, Inc., has asked you to evaluate a proposed new procedure for producing its Regal line of double-hung windows. The present process has a mean production of 80 units per hour with a population standard deviation of s = 8. The manager does not want to change to a new procedure unless there is evidence that the mean production level is higher with the new process. A sample of 100 observations show the new production...
Which system call should you use to create get the child process’ exit status? What do...
Which system call should you use to create get the child process’ exit status? What do operating systems use to allow multiple processes load from and store to the same address without interfering with each other?
During meiosis what is the process that creates new combinations of alleles along a single chromosome?...
During meiosis what is the process that creates new combinations of alleles along a single chromosome? crossing over meiosis II nondisjunction independent assortment During which stage of meiosis do chromosomes align on the equator of a haploid cell? metaphase metaphase I metaphase II What creates different combinations of maternal and paternal chromosomes in an organism's gametes (i.e. its sperm or eggs)? In other words, this is why all sperm (or eggs) are not genetically identical, and why you look different...
THE Company operates a single processing department and uses a FIFO process costing system. The equivalent...
THE Company operates a single processing department and uses a FIFO process costing system. The equivalent units for August were calculated as 88,620 for direct materials and 73,910 for conversion. THE Company's work in process at August 1 was: % complete % complete units DM conversion work in process, Aug. 1 36,000 59% 25% The cost of beginning work in process and the costs added during August were as follows: DM Conversion work in process, Aug. 1 $ 44,310 $...
Exercise 4-2 Computation of Equivalent Units-Weighted-Average Method [LO4-2] Clonex Labs, Inc., uses a process costing system....
Exercise 4-2 Computation of Equivalent Units-Weighted-Average Method [LO4-2] Clonex Labs, Inc., uses a process costing system. The following data are available for one department for October: Percent Completed Units Materials Conversion   Work in process, October 1 47,000 90% 60%   Work in process, October 31 26,000 66% 53% The department started 393,000 units into production during the month and transferred 414,000 completed units to the next department. Required: Compute the equivalent units of production for October, assuming that the company uses...