What is the purpose of the set_concurrency system call?

GIOS P2L4 - Part 2

Quiz
•
Computers
•
University
•
Hard

Blair Bass
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To allocate kernel level threads to a process
To request more user level threads
To signal the kernel before blocking
To interact and coordinate between the kernel and the user level library
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Why is it helpful for the kernel to signal to the user level library before blocking?
To allocate another thread to the process temporarily
To deallocate a thread when it becomes idle
To allow the user level library to request more kernel level threads
To coordinate and make progress even when some threads are blocking
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the user level library see?
Kernel level threads
CPUs
Kernel level scheduler
User level threads
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can the user level library do to ensure a user level thread always executes on a specific kernel level thread?
Request binding of the user level thread to a specific kernel level thread
Pin the kernel level thread to a particular CPU
Specify the mapping between ULT and KLT in the many to many case
Use mutexes and wait queues for synchronization
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
When does the process jump to the user level library scheduler?
When ULTs explicitly yield
When a timer set by the UL library expires
When ULTs call library functions like lock/unlock
When blocked threads become runnable
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the issue when a user level thread acquires a lock and the kernel level thread gets preempted?
The user level library scheduler cycles through remaining user level threads
The user level threads waste time until the thread holding the lock is scheduled again
The ULT/KLT mapping in the many to many case changes
The kernel is unaware of the data structures used by the user level
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a multi CPU system, how can a user level library impact what is running on another CPU?
By directly modifying the registers of the other CPU
By sending a signal from one CPU to the other
By requesting the kernel to preempt a thread on the other CPU
By blocking the thread on one CPU and scheduling another thread on the other CPU
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
C-21 IV Sem OS Quiz-1 Jan2024

Quiz
•
University
16 questions
WLUG Linux CS quiz

Quiz
•
University
20 questions
Kuis 1 Sistem Terdistribusi

Quiz
•
University
20 questions
Revisão 1ª AV - Sistemas Operacionais

Quiz
•
University
20 questions
Linux 3-4

Quiz
•
University
12 questions
Sistema Operacional

Quiz
•
University
20 questions
KAMALUDDEEN IBRAHIM YARIMA

Quiz
•
University
15 questions
OS-CH4-Thread and Concurrency

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade