4.1- What Is Race Condition In Process Synchronization In OS In Hindi | OS Lectures By Deepak Garg

TutorialsSpace- Er. Deepak Garg
TutorialsSpace- Er. Deepak Garg
22.4 هزار بار بازدید - 5 سال پیش - What Is Race Condition In
What Is Race Condition In Process Synchronization In OS In Hindi | OS Lectures By Deepak Garg

Topics Under Process Synchronization
1) Race Condition
2) Producer Consumer Problem
3) Critical Section
4) Lock variable Solution
5) Turn Variable Solution
6)Sleep And Wakeup Solution
7) Peterson Solution
8) TSL(Test And Set Lock)
9) Diasabling Interrupt
10) Semaphore
11) Counting Semaphore
12) Binary Semaphore
13) Producer Consumer Problem Solution Using Semaphore
14) Reader Writer Problem Solution Using Semaphore
15)Dinning Philosopher Problem Solution Using Semaphore


A race condition is an undesirable situation that occurs when a device or system attempts to perform two or more operations at the same time, but because of the nature of the device or system, the operations must be done in the proper sequence to be done correctly.


A simple example of a race condition is a light switch. In some homes there are multiple light switches connected to a common ceiling light. When these types of circuits are used, the switch position becomes irrelevant. If the light is on, moving either switch from its current position turns the light off. Similarly, if the light is off, then moving either switch from its current position turns the light on. With that in mind, imagine what might happen if two people tried to turn on the light using two different switches at exactly the same time. One instruction might cancel the other or the two actions might trip the circuit breaker.

Race conditions are most commonly associated with computer science. In computer memory or storage, a race condition may occur if commands to read and write a large amount of data are received at almost the same instant, and the machine attempts to overwrite some or all of the old data while that old data is still being read. The result may be one or more of the following: a computer crash, an "illegal operation," notification and shutdown of the program, errors reading the old data or errors writing the new data. A race condition can also occur if instructions are processed in the incorrect order

Introduction of Process Synchronization
On the basis of synchronization, processes are categorized as one of the following two types:

Independent Process : Execution of one process does not affects the execution of other processes.
Cooperative Process : Execution of one process affects the execution of other processes.
Process synchronization problem arises in the case of Cooperative process also because resources are shared in Cooperative processes.

#GateComputerScience
#UGCNETComputerScience
#NetComputerScience
#GATEOperatingSystem
#NETOperatingSystem
#OperatingSystemVideos
#OperatingSystemVideosInHindi
#OperatingSystemTutorials
#OperatingSystemTutorialsInHindi
#OperatingSystemLectures
#OperatingSystemLectureInHindi
#OperatingSystemInHindi

UGC NET computer Science operating system | UGC NET Operating System Lectures | GATE computer Science operating system | GATE Operating System Lectures

operating system tutorials in hindi |
operating system lectures in hindi |
operating system videos in hindi | operating system classes in hindi
Playlist:

UGC NET- Computer Graphics:
Playlist

UGC NET- Operating System Lectures:
[Complete Syllabus] UGC Net - GATE- O...

Operating System For BTech- BE- BSc-Msc- BCA-MCA...Students
[Complete] Operating System Tutorials...

Foundation Of Computer Science- IPU
Playlist

Full Discrete Mathematics Syllabus
Discrete Mathematics Tutorials In Hin...
5 سال پیش در تاریخ 1398/07/13 منتشر شده است.
22,446 بـار بازدید شده
... بیشتر