Examine the list of system calls in Fig. 1-9. Which call do you think is likely to
Question:
Examine the list of system calls in Fig. 1-9. Which call do you think is likely to execute most quickly. Explain your answer.
Transcribed Image Text:
Process management Signals pid= fork()) pid = waitpid(pid, &statloc, opts) s = wait(&status) s = execve(name, argv, envp) exit(status) size = brk(addr) pid = getpid (0) pid = getpgrp (0) pid= setsid () 1 = ptrace(req, pid, addr, data) s = sigaction (sig, &act, &oldact) s = sigreturn(&context) s = sigprocmask(how, &set, &old) s = sigpending (set) s = sigsuspend (sigmask) s = kill(pid, sig) residual alarm(seconds) s = pause () Create a child process identical to the parent Wait for a child to terminate Old version of waitpid Replace a process core image Terminate process execution and return status Set the size of the data segment Return the caller's process id Return the id of the caller's process group Create a new session and return its proc. group id Used for debugging Define action to take on signals Return from a signal Examine or change the signal mask Get the set of blocked signals Replace the signal mask and suspend the process Send a signal to a process Set the alarm clock Suspend the caller until the next signal
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 87% (8 reviews)
Among the listed system calls in Figure 19 the system call likely to execute most quickly is getpid ...View the full answer
Answered By
Utsab mitra
I have the expertise to deliver these subjects to college and higher-level students. The services would involve only solving assignments, homework help, and others.
I have experience in delivering these subjects for the last 6 years on a freelancing basis in different companies around the globe. I am CMA certified and CGMA UK. I have professional experience of 18 years in the industry involved in the manufacturing company and IT implementation experience of over 12 years.
I have delivered this help to students effortlessly, which is essential to give the students a good grade in their studies.
3.50+
2+ Reviews
10+ Question Solved
Related Book For
Operating Systems Design And Implementation
ISBN: 9780131429383
3rd Edition
Authors: Andrew Tanenbaum, Albert Woodhull
Question Posted:
Students also viewed these Computer science questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
a. Stock market index information: S&P 500 (stock) index level: Nasdaq Composite (stock) index level: b. Interest rate information : Prime rate: Federal funds rate: Commercial paper rate (90 days):...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
F udy A big part of communication is sharing personal information with another person. Some information we believe we have the right to be our own and should remain private. However, the degree to...
-
The board of directors of Monitors Plus authorizes the issue of $9,000,000 of 10%, five-year bonds payable. The semiannual interest dates are May 31 and November 30. The bonds are issued on May 31,...
-
Determine the torque applied to the shaft of a car that transmits 450 hp and rotates at a rate of 3000 rpm.
-
Use the all-possible-regressions selection on the patient satisfaction data in Table B.17. Perform a thorough analysis of the best candidate models. Compare your results with stepwise regression....
-
Use Newtons method to find the coordinates of the inflection point of the curve y = e cos x, 0, < x < correct to six decimal places.
-
At Hertz, the cost per day to rent a full-size car is $49.99, plus $0.12 per kilometer. What is the charge to rent this car for two days if you drive 1544.6 kilometers? Question 16 options
-
Windows does not have a fork system call, yet it is able to create new processes. Make an educated guess about the semantics of the system call Windows uses to create new processes.
-
Modern consumer appliances such as stereos and digital cameras often have a display where commands can be entered and the results of entering those commands can be viewed. These devices often have a...
-
Consider a box of two light bulbs. Let X be the lifetime of the first bulb removed from the box, and let Y denote the lifetime of the second bulb removed from the box.
-
At what interest rate will money a. double itself in 10 years? b. triple itself in 10 years? c. quadruple itself in 10 years?
-
You have just purchased a municipal bond with a \($10\),000 par value for \($9\),500. You purchased it immediately after the previous owner received a semiannual interest payment. The bond rate is...
-
What is the effective annual interest rate for 10 percent compounded (a) semiannually, (b) every 4 months, (c) quarterly, (d) every other month, (e) monthly?
-
Shortly after completing his MS degree in engineering, Jerry Dechert wanted to initiate a retirement plan. He decided to use a 15 percent mix of blue chip individual stocks, 50 percent mutual funds,...
-
A total of \($50\),000 is borrowed and repaid with 60 monthly payments, with the first payment occurring 1 month after receipt of the \($50\),000. The stated interest rate is 6 percent compounded...
-
Use the data provided in Problem 10-5. Required: Prepare a realization and liquidation account for Plum Company to cover the five-month period of receivership (June 1, 2012, to October 31, 2012). Use...
-
The Pletcher Transportation Company uses a responsibility reporting system to measure the performance of its three investment centers: Planes, Taxis, and Limos. Segment performance is measured using...
-
The min method for the UnsortedPriorityQueue class executes in O(n) time, as analyzed in Table 9.2. Give a simple modification to the class so that min runs in O(1) time. Explain any necessary...
-
An airport is developing a computer simulation of air-traffic control that handles events such as landings and takeoffs. Each event has a time stamp that denotes the time when the event will occur....
-
What does each removeMin call return within the following sequence of priority queue ADT operations: insert(5, A), insert(4, B), insert(7, F), insert(1, D), removeMin( ), insert(3, J), insert(6, L),...
-
8) You obtain a $1000 treasure note with a 6% annual rate, paid semi-annually, with a maturity in 5 years. How much interest will you earn?
-
The following graph shows the approximate value of home prices and existing home sales as a percentage change from 2003, together with quadratic approximations, such that: Home prices: 40 Home prices...
-
The total spent on Research and Development (R&D) by the federal government in the USA during 2002-2012 can be approximated by S(t)=3.1(Int)+22 $billion; 25112 where t is the year since 2000. a)...
Study smarter with the SolutionInn App