AppDomain
Now you have a brief understanding about what a Thread is. At this point, you will learn about the environment in which every Thread runs, and that is the AppDomain. In the unmanaged world, a system had multiple processes, and each process had one or more threads. In the managed world, the system still has many processes, but it now has an additional boundary called the AppDomain. An AppDomain has been described as a lightweight process. Although this is mostly correct conceptually in that AppDomains provide isolation like a process for security, faults, and errors, when it comes to Threads, the AppDomain no longer seems like a process. Threads can easily weave in and out of an AppDomain, which is very much unlike a process.
An AppDomain ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access