Operating system (10 thread and process differences-illegal operation)

Source: Internet
Author: User

1, concurrent execution: Multi-process and multi-threading.

2, Apache vs. IIS (differences between multi-process and multi-threaded)

Apache is a multi-process implementation, and IIS is multi-threaded.

Difference:

1> efficiency: The thread efficiency is higher than the process efficiency.

2> Stability: Thread and process ratio, thread is unstable, one thread is having problems, multiple threads are having problems together. And the process is independent, has its own independent space.

3> Security: The process is isolated, separate. Threads can access each other

3. Usually encounter some illegal operation, the principle of illegal operation?

Because the operating system is divided into two states, users can only exist in the user state, can not cross to the kernel state. As long as the user is out of bounds, the system will prompt for action.

Specific performance of illegal operations:

Memory address problem,

Privileged command issues

4.sanbox

Operating system (10 thread and process differences-illegal operation)

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.