Page 19 - DCAP103_Principle of operating system
P. 19
Principles of Operating Systems
Notes
A timer can be set to interrupt the computer after a specified period. The
period may be fixed or variable.
1.5.4 Types of System Call
System calls can be roughly grouped into five major categories:
1. Process Control
• end, abort
• load, execute
• create process, terminate process
• get process attributes, set process attributes
• wait for time
• wait event, signal event
• allocate and free memory
2. File Management
• create file, delete file
• open, close
• read, write, reposition
• get file attributes, set file attributes
3. Device Management
• request device, release device
• read, write, reposition
• get device attributes, set device attributes
• logically attach or detach devices
4. Information Maintenance
• get time or date, set time or date
• get system data, set system data
• get process, file, or device attributes
• set process, file, or device attributes
5. Communication
• create, delete communication connection
• send, receive messages
• transfer status information
• attach or detach remote devices
12 LOVELY PROFESSIONAL UNIVERSITY