section of code that requires access to shared resources and must not be executed while another process is in a corresponding section of code
section of code that requires access to shared resources and must not be executed while another process is in a corresponding section of code
each process has a segment of code, in which the process may be changing common variables, updating a table, writing a file, and so on. it is a shared resource.