CS 370: Process Synchronization

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

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:35 PM on 10/5/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards

critical section

segment of code that accesses a shared resource. It is protected and bookended by sentinels and is the part of code that needs to be executed by only one process at a time.

2
New cards

race conditions

situation where the outcome of execution depends on the particular order in which accesses take place

3
New cards

T

No two processes can execute in their critical sections at the

same time (T/F)

4
New cards

entry section

where does each process request permission to enter its critical section?

5
New cards

bounded waiting

limit number of times other processes are allowed to enter their critical sections

6
New cards

Peterson’s Solution

software solution to the critical section problem

7
New cards

F

test and set will set the lock variable to TRUE to signify that another process can enter the critical section (T/F)

8
New cards

semaphore

a synchronization tool used to manage access to shared resources in multi-threaded or multi-process systems by controlling access based on a count.

9
New cards

atomic operations

group of related operations performed without interruptions

10
New cards

F (when a process needs a resource from a higher priority process, it inherits higher priority for the time it needs to use that resource.)

Processes cannot move higher priority in order to access resources, the resources must be granted by a parent process (T/F)

11
New cards

No

Are there problems when two readers access shared data simultaneously?

12
New cards

Yes

Are there problems if a writer and some other reader or writer access shared data simultaneously?

13
New cards

Explore top notes

note
Unit 4 - Chapter 6
Updated 909d ago
0.0(0)
note
2.5: air pollution
Updated 1206d ago
0.0(0)
note
Chapter 14: Postmortem Examination
Updated 1083d ago
0.0(0)
note
The Krebs Cycle
Updated 1200d ago
0.0(0)
note
🦅 APUSH Unit 2 Notes
Updated 179d ago
0.0(0)
note
Chapter 16: Cytoskeleton
Updated 990d ago
0.0(0)
note
AP World History - Ultimate Guide
Updated 325d ago
0.0(0)
note
Chapter 12: Social Psychology
Updated 1283d ago
0.0(0)
note
Unit 4 - Chapter 6
Updated 909d ago
0.0(0)
note
2.5: air pollution
Updated 1206d ago
0.0(0)
note
Chapter 14: Postmortem Examination
Updated 1083d ago
0.0(0)
note
The Krebs Cycle
Updated 1200d ago
0.0(0)
note
🦅 APUSH Unit 2 Notes
Updated 179d ago
0.0(0)
note
Chapter 16: Cytoskeleton
Updated 990d ago
0.0(0)
note
AP World History - Ultimate Guide
Updated 325d ago
0.0(0)
note
Chapter 12: Social Psychology
Updated 1283d ago
0.0(0)

Explore top flashcards

flashcards
AP Lit American Year Vocab
166
Updated 1193d ago
0.0(0)
flashcards
Japanese Year 11 ATAR
182
Updated 1021d ago
0.0(0)
flashcards
CCHS Meteorology Brown
41
Updated 869d ago
0.0(0)
flashcards
Semester 1 Final: Names
37
Updated 1199d ago
0.0(0)
flashcards
G8 U4
22
Updated 471d ago
0.0(0)
flashcards
Unit 9: Protein Synthesis
32
Updated 377d ago
0.0(0)
flashcards
year 11 biology
297
Updated 422d ago
0.0(0)
flashcards
AP Lit American Year Vocab
166
Updated 1193d ago
0.0(0)
flashcards
Japanese Year 11 ATAR
182
Updated 1021d ago
0.0(0)
flashcards
CCHS Meteorology Brown
41
Updated 869d ago
0.0(0)
flashcards
Semester 1 Final: Names
37
Updated 1199d ago
0.0(0)
flashcards
G8 U4
22
Updated 471d ago
0.0(0)
flashcards
Unit 9: Protein Synthesis
32
Updated 377d ago
0.0(0)
flashcards
year 11 biology
297
Updated 422d ago
0.0(0)