Atomicity Flashcards

1
Q

what is atomicity

A

a set of machine instructions that have to be coupled so that they happen together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how can we assure atomicity

A

disable interrupts

privilege level of the processor

semaphore

peripheral device modification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what cant happen during an atomic piece of code? how do we ensure this

A

context switch

disable interrupts or make it mutually exclusive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly