csen5322 quiz-4. multiple choices 1. in win32, a parent uses the waitforsingleobject() function to...
TRANSCRIPT
CSEN5322
Quiz-4
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.
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