Solved

Which of the Following Statements Is Correct

Question 73

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