-
Book Overview & Buying
-
Table Of Contents
Tools and Skills for .NET 10 - Second Edition
By :
Let’s start by defining some terms.
A process is a running instance of a program with its own private execution context. That context includes a virtual address space, one or more threads that execute the code, a unique process ID, open handles or file descriptors, security credentials, and other kernel-managed bookkeeping the OS uses to schedule and isolate it. In plain terms, a process is the container that the operating system gives your code so it can run safely alongside everything else. An example being each of the console apps that we have created in this book.
Processes matter because they provide isolation and safety. A buggy or compromised process is less likely to corrupt others because address spaces are separated. This is the OS’s basic protection boundary. The OS tracks CPU time, memory, open files, and permissions per process, which is why tools can meter, limit, or kill a specific process...