BASIC SYNCHRONIZATION PRINCIPLES
Chapter 9:-
1. Synchronization is a coordination of activities among processes. The reason for synchronizing is for protection and sharing..
2. A critical section refers to a segment of program code that accesses or manipulates a hardware or software resource that restricts on its use.
3. Examples of hardware sharing includes Hard disk Drive, System/ Main memory and BUS. A non-sharing hardware is like a printer.
4. Approaches to synchronization is the use of:-
Disable/Enable Interrupts, Use of Lock Variables, Controlled Entry , Exit for critical sections and concept of Atomic / Indivisible Operation.
5. Semaphores are divided into Binary ( 0 & 1 outputs) or General.Counting which has values of 1, n, -n.