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
Google IT Support Certification Quiz

Quiz
•
KG - Professional Dev...
12 questions
Operating System structure

Quiz
•
University
20 questions
KAMALUDDEEN IBRAHIM YARIMA

Quiz
•
University
11 questions
OPESSYS: Module 3 Quiz Game

Quiz
•
University
20 questions
CSE316_Unit01_Quiz01

Quiz
•
University
10 questions
OS(UNIT-I) QUIZ

Quiz
•
University
20 questions
Kuis 1 Sistem Terdistribusi

Quiz
•
University
15 questions
Understanding Operating Systems Basics

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade