test
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
Two **shared variables** are used
|
||||
|
||||
1. *turn* - indicates which process is next to enter its critical section
|
||||
1. *turn* - indicates which process is next to enter its critical section.
|
||||
2. *Boolean flag [2]* - indicates that a process is ready to enter its critical section
|
||||
|
||||
* Peterson's solution can be used over multiple processes or threads
|
||||
|
||||
Reference in New Issue
Block a user