Given below are two statements:
Assertion A: A process involves a library function to create a thread.
Reason R: The threads make system calls to convey their resource and I/O requirements to the Kernel.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. Both A and R are true but R is NOT the correct explanation of A
Explanation
Assertion A is true: user-level threads are typically created, scheduled and managed by a user-space threading library (e.g. pthread_create) without the kernel being aware of individual threads at all. Reason R is also true in general — running threads do issue system calls to request resources and perform I/O. But R does not explain A: a library routine can create a thread entirely in user space regardless of whether, or how, that thread later makes system calls, so the two facts are unrelated causally. Hence both statements are true but R is not the correct explanation of A, option (ii).More System Software and Operating System questions
- In a multi-user operating system, requests for a particular resource arrive at an average rate of 20 per hour (a Poisson arrival process).…
- In Linux Operating system, when ________ is invoked, it is passed a set of flags that determine how much sharing is to take place between t…
- User level threads are threads that are visible to the programmer and are unknown to the kernel. The operating system kernel supports and m…
- One of the disadvantages of user-level threads compared to kernel-level threads is:
- Match List I with List II regarding operating system I/O management. List I: (a) Device controller (b) Device driver (c) Interrupt handler…
- Match List I with List II Choose the correct answer from the options given below: