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
expalin about the design issues of network operating system

Problem: a) Define a ‘file' and list the objectives of the file management system. b) List the ways in which programs access files and determine for what file types you woul

Q. Illustrate the Operating System Components? Modern operating systems share the goal of supporting system components. System components are: 1.  Process Management 2.


Explain Processing Predefined Application Protocols Implementing and swift processing of predefined application protocols is sure to improve performance of server - side applic

Q. Illustrate Scope of Consumer behaviour ? Scope of consumer behaviour is extremely wide due to following reasons: >>Ever rising intensifying competition. >>Additional a

Problem: Managing Outside Communication. a. What is the principal action we use when communicating through a web browser? b. Give an example of how to preaddress an email

BENEFITS OF THREADS OVER PROCESS If implemented correctly after those threads have some advantages of (multi) processes, they take: 1. Less time to create a new thread tha

what are disadvantages of using single directory

What lead to the concept of paging? The main memory is separated into two parts that are one for the resident operating system, and one for the user processes. We may perhaps p