System call Preliminary

Source: Internet
Author: User

System call System Programming
High efficiency, typically used in server applications.

System call: A set of functions provided by the operating system. Kernel functions, manipulating external resources.
System call is the interface provided by the kernel to the application, only the system provides the function, the user can call it, implement the corresponding function, do not provide the function, the operating system does not provide this function.

Operating system features: 1) management hardware, 2) abstract hardware.

There are three main contents in the System call section:
1) File: File I/O, file system.
2) Process thread: process, Thread, IPC
3) Protocol: Tcp,udp,socket (local)

Under Linux, the program has two privileged levels: User-state and kernel-state.
Power-level switching: The conversion of the kernel state and the user state, which is quite time consuming.

Privileged Pole reference: http://my.oschina.net/liubin/blog/27795

System call Preliminary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.