pl quiz concurency

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

monitor

a synchronization method which is an abstract data type used in concurrent programming to manage shared data that encapsulates the shared data and its operations to restrict access

2
New cards

heavyweight task

a task category which is a task that executes in their own isolated address space, they do not share memory with others

3
New cards

how is logical concurrency achieved

it is achieved by timesharing a lone processor, in which it may look like there were multiple threads of control, but it switches quickly between tasks

4
New cards

task vs subprograms

  1. it may be implicitly started without a direct function call

  2. a program doesnt have to wait for a task to finish

  3. when a task is completed, control may not return to caller

5
New cards

Competition synchronization

  • it is two or more tasks that must use a resource that cannot be simultaneously used, it is needed to avoid conflicts or corruption when reading/writing data

6
New cards

semaphore

it is a data structure consisting of a counter and a queue for storing task descriptor, it controls who can go, who has to wait, and in what order to ensure order in concurrent systems