answersLogoWhite

0


Best Answer

Interrupts are not sufficient in multiprocessor systems since disabling inter rupts only

prevents other processes from executing on the processor in which inter rupts were disabled; there are

no limitations on what processes could be executing on other processors and therefore the process

disabling interrupts cannot guarantee mutually exclusive access to program state.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

If a user-level program is given the ability to disable interrupts, then it can disable the timer interrupt and prevent context switching from taking place, thereby allowing it to monopolize the processor so the other process may never execute so there will be starvation.

This answer is:
User Avatar

User Avatar

Osama Khan

Lvl 2
1y ago

If a user-level program is given the ability to disable interrupts, then it can disable the timer interrupt and prevent context switching from taking place, thereby allowing it to use the processor without letting

other processes to execute.

Explain why interrupts are not appropriate for implementing synchronization

primitives in multiprocessor systems.

Interrupts are not sufficient in multiprocessor systems since disabling interrupts only prevents other processes from executing on the processor in which interrupts were disabled; there are no limitations on what processes could be executing on other processors and therefore the process disabling interrupts cannot guarantee mutually exclusive access to program state.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain why implementing synchronization primitives by disabling interrupts is not appropriate in a single-processor system if the synchronization primitives are to be used in user-level programs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Explain why interrupts are not appropriate for implementing synchronization?

Because they are completely unrelated things? Synchronization can be implemented with semaphores or mutexes.


What are the various type of interrupts?

There are three types of interrupts.... 1. internal Interrupts 2. External Interrupts 3. Software Interrupts... read more


How many interrupts in?

it has 256 interrupts ..


What is interrupts and list classes of interrupts in operating system?

An interrupt is an event that alters the sequence in which the processor execute instructions. It is generated by hardware of computer system. Classes of interrupt:- IBM processor has six types of interrupts. * svc interrupt(supervisor call) *input/output interrupts *external interrupts *Restart interrupts *Program check interrupt *Machine check interrupts


No of interrupts of 8051 excluding reset?

1.The excluding interrupts are INT0 & INT1 2.The Timer0 and Timer1 are interrupts are generated by TF0 and TF1


Different between maskable and non-maskable interrupt?

Maskable interrupts trigger events are not always important and so the programmer can decide that the event should not cause a program to jump. Nonmaskable interrupts can not be ignored by the programmer and therefore they have absolute priority.


What is EI and DI instructions?

The Enable Interrupts (EI) and Disable Interrupts (DI) instructions allow the MP to permit or deny interrupts under program control.


What is multiple interrupts?

Multiple interrupts refers to errors that may occur when a system is operational. The interrupts may be caused by a single error repeatedly or by different errors.


How do you spell inturupes?

The likely word is the verb form "interrupts."


What are interrupts initiated by instructions called?

Those would be software interrupts. Interrupts initiated by the hardware would be hardware interrupts. While the socket a mouse is plugged into would use a hardware interrupt, a mouse driver would use a software interrupt.


What are the various types of interrupts in microprocessor?

The fluctuation in the power surges is an example of the types of interrupts in a microprocessor.


What chip controls hardware interrupts?

Hardware interrupts can be controlled by the 8259 Programmable Interrupt Controller