Question: 5. A thread is composed of a thread ID, program counter, register set, and heap. A. True B. False 6. In Pthreads, a parent uses
5.
A thread is composed of a thread ID, program counter, register set, and heap.
| A. | True | |
| B. | False |
6.
In Pthreads, a parent uses the pthread_join() function to wait for its child thread to complete. What is the equivalent function in Win32?
| A. | win32_join() | |
| B. | WaitForSingleObject() | |
| C. | join() | |
| D. | wait() |
7.
A ____ provides an API for creating and managing threads.
| A. | multithreading model | |
| B. | set of system calls | |
| C. | multicore system | |
| D. | thread library |
8.
____ is a thread library for Solaris that maps many user-level threads to one kernel thread.
| A. | Sthreads | |
| B. | Pthreads | |
| C. | Green threads | |
| D. | Java threads |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
