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)