csen5322 quiz-4. multiple choices 1. in win32, a parent uses the waitforsingleobject() function to...
TRANSCRIPT
![Page 1: CSEN5322 Quiz-4. Multiple Choices 1. In Win32, a parent uses the WaitForSingleObject() function to wait for its child thread to complete. What is the](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d755503460f94a55b76/html5/thumbnails/1.jpg)
CSEN5322
Quiz-4
![Page 2: CSEN5322 Quiz-4. Multiple Choices 1. In Win32, a parent uses the WaitForSingleObject() function to wait for its child thread to complete. What is the](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d755503460f94a55b76/html5/thumbnails/2.jpg)
Multiple Choices1. In Win32, a parent uses the WaitForSingleObject() function to wait for its child thread to complete. What is the equivalent function in Pthreads?
A) win32_join() C) pthread_join() B) wait() D) join()
2. Windows XP uses the ____.A) one-to-one model C) one-to many-modelB) many-to-one model D) many-to-many model
3. The _____ model allows a user-level thread to be bound to one kernel thread.A) many-to-many C) one-to-oneB) two-level D) many-to-one
T/F4. Asynchronous cancellation is preferred over deferred cancellation.5. Linux distinguishes between processes and threads.
![Page 3: CSEN5322 Quiz-4. Multiple Choices 1. In Win32, a parent uses the WaitForSingleObject() function to wait for its child thread to complete. What is the](https://reader036.vdocument.in/reader036/viewer/2022082610/56649d755503460f94a55b76/html5/thumbnails/3.jpg)
Multiple Choices1. In Win32, a parent uses the WaitForSingleObject() function to wait for its child thread to complete. What is the equivalent function in Pthreads?
A) win32_join() C) pthread_join() B) wait() D) join()
2. Windows XP uses the ____.A) one-to-one model C) one-to many-modelB) many-to-one model D) many-to-many model
3. The _____ model allows a user-level thread to be bound to one kernel thread.A) many-to-many C) one-to-oneB) two-level D) many-to-one
T/F4. Asynchronous cancellation is preferred over deferred cancellation. F5. Linux distinguishes between processes and threads. F