Solved

Which of the Following Statements Is Correct

Question 57

Multiple Choice

Which of the following statements is correct?


A) If a thread sleeps after acquiring a lock, it blocks all other threads that want to use the same lock.
B) When a thread calls await, it is simply deactivated in the same way as a thread that reaches the end of its time slice.
C) A thread pool is designed to encapsulate the concept of a sequence of statements that can run in parallel with other tasks, without equating it with the concept of a thread, a potentially expensive resource that is managed by the operating system.
D) Under no circumstances should you terminate a running thread.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents