About processes, threads, application domains (AppDomain)

Source: Internet
Author: User

What is a process? What is a thread? What is an application set? And the relationship between the three (below to do some simple conceptual understanding)

The basic object of the common three!!! --Application

1. Process is the mechanism that the operating system uses to isolate many running applications, and the disadvantage of the process is to reduce performance.

2. A thread is an entity in a process that can execute concurrently between multiple threads in the same process. Because of the mutual constraints between the threads, the threads are running intermittently. Threads also have three basic states of readiness, blocking, and running.

3, the application domain can be understood as a lightweight process. Play a security role, the use of small resources. It is essentially an isolation that isolates the virtual boundaries of an application.

4, single-threaded and multi-threading?

Single thread is a single control flow in a program. Running multiple threads at the same time in a single program completes different tasks called multithreading.

5. What is the relationship between application domains and threads?

There is no one by one corresponding relationship between application domains and threads. More than one thread can be executed in a single domain, and a particular thread is not confined to a single domain. This means that threads can cross domain boundaries and do not create new threads for a domain.

About processes, threads, application domains (AppDomain)

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.