A method for solving synchronization problems (Q582048): Difference between revisions
From MaRDI portal
Created a new Item |
Changed an Item |
||
Property / review text | |||
A systematic method is given for solving synchronization problems of concurrent processes. A process is considered as a sequence of atomic actions S which are preceded by a state P (precondition) and terminated by a state Q (postcondition). Correct synchronization is warranted, if pre- and postcondition of an atomic action in one process are not interferenced by atomic actions of another process. In order to guarantee the noninterference with only linear effort (in relation to the number of atomic actions) a global predicate is defined, which is newly calculated and checked for each starting action. The method comprises four steps: 1. Define the problem. 2. Outline the solution. 3. Ensure the global predicate. 4. Implement the atomic action. In the fourth step the action is transformed in code of only sequential statements and the synchronization mechanism. The method is illustrated for critical sections, the producer/consumer problem and the reader/writer problem. As basic synchronization mechanisms are used and explained in detail chainging variables, split binary semaphores and passing the baton. | |||
Property / review text: A systematic method is given for solving synchronization problems of concurrent processes. A process is considered as a sequence of atomic actions S which are preceded by a state P (precondition) and terminated by a state Q (postcondition). Correct synchronization is warranted, if pre- and postcondition of an atomic action in one process are not interferenced by atomic actions of another process. In order to guarantee the noninterference with only linear effort (in relation to the number of atomic actions) a global predicate is defined, which is newly calculated and checked for each starting action. The method comprises four steps: 1. Define the problem. 2. Outline the solution. 3. Ensure the global predicate. 4. Implement the atomic action. In the fourth step the action is transformed in code of only sequential statements and the synchronization mechanism. The method is illustrated for critical sections, the producer/consumer problem and the reader/writer problem. As basic synchronization mechanisms are used and explained in detail chainging variables, split binary semaphores and passing the baton. / rank | |||
Normal rank | |||
Property / Mathematics Subject Classification ID | |||
Property / Mathematics Subject Classification ID: 68N25 / rank | |||
Normal rank | |||
Property / Mathematics Subject Classification ID | |||
Property / Mathematics Subject Classification ID: 68M20 / rank | |||
Normal rank | |||
Property / zbMATH DE Number | |||
Property / zbMATH DE Number: 4129972 / rank | |||
Normal rank | |||
Property / zbMATH Keywords | |||
mutual exclusion | |||
Property / zbMATH Keywords: mutual exclusion / rank | |||
Normal rank | |||
Property / zbMATH Keywords | |||
synchronization | |||
Property / zbMATH Keywords: synchronization / rank | |||
Normal rank | |||
Property / zbMATH Keywords | |||
concurrent processes | |||
Property / zbMATH Keywords: concurrent processes / rank | |||
Normal rank | |||
Property / zbMATH Keywords | |||
semaphores | |||
Property / zbMATH Keywords: semaphores / rank | |||
Normal rank | |||
Property / zbMATH Keywords | |||
passing the baton | |||
Property / zbMATH Keywords: passing the baton / rank | |||
Normal rank |
Revision as of 18:02, 1 July 2023
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | A method for solving synchronization problems |
scientific article |
Statements
A method for solving synchronization problems (English)
0 references
1989
0 references
A systematic method is given for solving synchronization problems of concurrent processes. A process is considered as a sequence of atomic actions S which are preceded by a state P (precondition) and terminated by a state Q (postcondition). Correct synchronization is warranted, if pre- and postcondition of an atomic action in one process are not interferenced by atomic actions of another process. In order to guarantee the noninterference with only linear effort (in relation to the number of atomic actions) a global predicate is defined, which is newly calculated and checked for each starting action. The method comprises four steps: 1. Define the problem. 2. Outline the solution. 3. Ensure the global predicate. 4. Implement the atomic action. In the fourth step the action is transformed in code of only sequential statements and the synchronization mechanism. The method is illustrated for critical sections, the producer/consumer problem and the reader/writer problem. As basic synchronization mechanisms are used and explained in detail chainging variables, split binary semaphores and passing the baton.
0 references
mutual exclusion
0 references
synchronization
0 references
concurrent processes
0 references
semaphores
0 references
passing the baton
0 references