process, thread, and coprocessor summary

Source: Internet
Author: User

process, thread, coprocessor three brothers, those things.

1. Threads

    • Definition: A thread is the smallest unit that the operating system can perform operations on.
    • Self-Understanding: Thread open, shared resources, thread is the system's call resource order, process is directly to the CPU, is CPU-based.
    • Feature decision usage (multithreading)

  

2. Process

    • Definition: A program cannot run on its own, only the program is loaded into memory, and the system allocates resources for it to run, and the program that executes is called a process.
    • Self-understanding: Process Conservative, encapsulating resources. The program itself is not executable, it is just some static code, but to the operating system will read to the dynamic activity. A process is a collection of instructions, with at least one main thread. The process needs to allocate resources and is resource-intensive.
    • Feature decision usage (multi-process)

  

3. Co-process

process, thread, and coprocessor summary

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.