Question: When using kernel level threads, a thread context switch within the same address space is equivalent or close to: a).-a function call b).-a
When using kernel level threads, a thread context switch within the same address space is equivalent or close to:
a).-a function call
b).-a system call
c)-a process context switch
The i-node free list for a file system can usually be found in:
a).-The i-node free list
b).-The superblock
c).-The boot block
d).-The metadata block
If you are using a multiprocessor system and want to protect a short critical section, the best and most efficient choice will be:
a).-disabling interrupts;
b).-a mutex implemented using TestAndSet instruction
c).-a semaphore implemented in the OS kernel
When using user level threads, a thread context switch within the same address space is equivalent/close to:
a).-a function call
b).-a system call
c)-a process context switch
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below 1 b a system call A system call is a software interrupt that allows userspace processes to request services from the kernelWhen a thread co... View full answer
Get step-by-step solutions from verified subject matter experts
