- Higher priority threads may be asked to wait for an indefinite amount of time
- Implementation of critical section is not an easy task (from programming perspective), since it has to consider all the possible collateral risks
operating system
Because only the operating system has that authority.
A critical section is a piece of code that accesses a shared resource (either in the form of data structure or a device) that must not be concurrently accessed by more than one thread of execution (which will otherwise lock it from doing other things).Note: Note that on Windows NT (not 9x/ME), the function TryEnterCriticalSection() can be used to attempt to enter the critical section.
One Disadvantage For an operating System Is that Your hardware will not be able to work at all until you wrote your own code for the hardware to do what you want it to do .
The kernel.
Implementing a critical section in operating systems is important for ensuring proper synchronization and preventing race conditions. A critical section is a part of the code that can only be accessed by one process at a time, which helps avoid conflicts and ensure that data is accessed and modified correctly. This is crucial for maintaining the integrity of the system and preventing issues that can arise from multiple processes trying to access the same resources simultaneously.
There are several advantages and disadvantages of having a real time operating system. One disadvantage is unseen errors, an advantage is timing.
Response Time
At boot up.
kernal
system state data
Four of the most critical components controlled by an operating system are: CPU, RAM, Hard Drive and Motherboard.