Explain how a shared region could be used for a process to read data written by the kernel. Include in your explanation what would be necessary for synchronization.
What will be an ideal response?
The shared region is mapped read-only into the process’s address space, but is writable by the kernel.The process reads data from the region using standard LOAD instructions (avoiding a TRAP). The process may poll the data in the region from time to time to see if it has changed. However, we may require a way for the kernel to notify the process when it has written new data. A software interrupt can be used for this purpose.
You might also like to view...
To group contiguous worksheet tabs, the user clicks the worksheet tab at one end of the contiguous tabs, holds down ________, and clicks the worksheet tab on the other end of the contiguous tabs
A) End B) Alt C) Ctrl D) Shift
Which of the following is an advantage of upgrading the PBX to support VoIP?
a. Both PSTN and IP network voice traffic are supported. b. Data traffic is easily integrated with the telephone system. c. Existing telephone hardware needs to be replaced. d. Both a and b
Which arithmetic operators have the highest precedence?
A. * / % B. < <= C. && D. + -
Excel's ________ returns the current date and time
Fill in the blank(s) with correct word