vault backup: 2025-05-02 18:57:49
This commit is contained in:
@ -53,7 +53,7 @@ The result depends on when context switching[^1] happens.
|
||||
The part of the program where shared memory is accessed is called the **Critical Section (CS)**.
|
||||
|
||||
### Critical Regions/Sections
|
||||

|
||||

|
||||
|
||||
### Avoiding race conditions
|
||||
|
||||
@ -130,7 +130,7 @@ It defines procedures (i.e. methods).
|
||||
|
||||
It uses **condition variables** (often with wait and signal[^3]operations) to allow threads to wait for certain conditions to be met before proceeding.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user