Difference between system calls and procedure calls, Operating System

 

The Most comman difference are given below

  • System calls are heavy. While a procedure call can generally be performed in a few system instructions, a system call needs the computer to save its state, let the operating system take use of the CPU, have the operating system done some function, have the operating system load its state, and then have the operating system send control of the CPU back to user.

 

  • System calls are machine dependent. It could not be a great idea to directly access system calls when portability cannot be used. System calls are also quite hard. Most usually, it adds the duo of RET and TRAP. To develop system call, one would require specialized knowledge of I/O registers, the sequence of operations required to use them; and most important of all, operated enough protection because I/O sources are usually distributed among multiple processes and/or users.

 

Posted Date: 7/28/2012 8:14:19 AM | Location : United States







Related Discussions:- Difference between system calls and procedure calls, Assignment Help, Ask Question on Difference between system calls and procedure calls, Get Answer, Expert's Help, Difference between system calls and procedure calls Discussions

Write discussion on Difference between system calls and procedure calls
Your posts are moderated
Related Questions
What are the steps followed in testing? i. Unit testing - The individual components are tested in this type of testing. ii. Module testing - Related collection of independen

with the aid of diagrams describe the following os structures monolithic , layered, client server

Construct a process tree similar to Figure 1. Look up the Linux command pstree -p and describe what it does. Then type in the command the capture the output.

define semaphore. how can we use semaphore to deal with n-process critical section problem.

Medium term scheduling is form of the swapping operation. This attaches to processes that are in a suspended or blocked state. They are swapped out of real-memory storage until t

Explain the various file types A common technique for executing file types is to contain the type as part of the file name. The name is split into two parts - a name and an ext

Q. Explain Message passing among systems? Communications- Message passing among systems requires messages to be turned into packets of information and sent to the network contr

What are the methods for handling deadlocks ? The technique for handling the deadlocks are: We are able to use protocol to prevent or avoid the deadlock, make sure tha

Define UFD and MFD. In the two-level directory structure, every user has her own user file directory (UFD). Every UFD has a similar structure, but lists only the files of a one

with the aid of diagrams describe the following OS structure monolithic,layered and client server.