adplus-dvertising
frame-decoration

Question

Thread pools are useful when :

a.

when we need to limit the number of threads running in the application at the same time

b.

when we need to limit the number of threads running in the application as a whole

c.

when we need to arrange the ordering of threads

d.

none of the mentioned

Answer: (a).when we need to limit the number of threads running in the application at the same time

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Thread pools are useful when :

Similar Questions

Discover Related MCQs

Q. Instead of starting a new thread for every task to execute concurrently, the task can be passed to a ___________

Q. Each connection arriving at multi threaded servers via network is generally :

Q. The idea behind thread pools is :

Q. If the thread pool contains no available thread :

Q. Thread pools help in :

Q. Thread pools limit the number of threads that exist at any one point, hence :

Q. The number of the threads in the pool can be decided on factors such as :

Q. Because of virtual memory, the memory can be shared among

Q. _____ is the concept in which a process is copied into main memory from the secondary memory according to the requirement.

Q. The pager concerns with the

Q. Swap space exists in

Q. When a program tries to access a page that is mapped in address space but not loaded in physical memory, then

Q. Effective access time is directly proportional to

Q. In FIFO page replacement algorithm, when a page must be replaced

Q. Which algorithm chooses the page that has not been used for the longest period of time whenever the page required to be replaced?

Q. A process is thrashing if

Q. Working set model for page replacement is based on the assumption of

Q. Virtual memory allows :

Q. The instruction being executed, must be in :

Q. Error handler codes, to handle unusual errors are :