In the context of operating systems, how does a process table work exactly? How does it manage the processes as they move from state to state? Are What are the events that occur when a process changes states? Are running, ready and blocked the 3 general process states that my textbook is referring to below?
To implement the process model, the operating system maintains a table (an array of structures), called the process table, with one entry per process. (Some authors call these entries process control blocks.) This entry contains important information about the process' state, including its program counter, stack pointer, memory allocation, the status of its open files, its accounting and scheduling in- formation, and everything else about the process that must be saved when the process is switched from running to ready or blocked state so that it can be restarted later as if it had never been stopped.