chapter 6 (sychronization)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

9 Terms

1
New cards

what is a race condition

When multiple threads access shared data concurrently, causing the outcome to depend on which thread accesses/modifies it first.

2
New cards

how to prevent race condition

d

3
New cards

what is the critical section


4
New cards

what are the 3 solutions to the critical section problem

mutual exclusion

progress

bounded waiting

5
New cards

what is the purpose of the 3 critical section solutions

mutual exclusion -

progress -

bounded waiting -

6
New cards
7
New cards
8
New cards
9
New cards