Operating System » Threads Pools
Operating System Subcategories
Application Io Interface 1Application Io Interface 2
Atomic TransactionsBasics
Classic Sync ProblemsCommunication Systems Bandwidth Transmission Medium
Cpu SchedulingCpu Scheduling 2
Cpu Scheduling Algorithms 1Cpu Scheduling Algorithms 2
Cpu Scheduling BenefitsCritical Section Problem
DeadlockDeadlock Avoidance
Deadlock DetectionDeadlock Prevention
Deadlock RecoveryDisk Management
Disk Scheduling 1Disk Scheduling 2
Distributed File SystemDistributed Operating System
Distributed SynchronizationFile System 1
File System Allocation Methods 1File System Allocation Methods 2
File System Allocation Methods 3File System Concepts
File System Free Space PerformanceFile System Implementation
File System Interface Access Methods 1File System Interface Access Methods 2
File System Interface Directory Structure 1File System Interface Directory Structure 2
File System Interface Mounting SharingFile System Interface Protection
File System RecoveryInter Process Communication
Io SubsystemKernel Io Subsystems
LinuxMass Storage Raid 1
Mass Storage Raid 2Mass Storage Tertiary Storage
Memory Allocation 1Memory Allocation 2
Memory ManagementMemory Management Paging 1
Memory Management Paging 2Memory Management Segmentation
Memory Management Swapping 1Memory Management Swapping 2
Multi Threading ModelsMultimedia System Compression 1
Multimedia System Compression 2Multimedia System Compression 3
Multimedia System Cpu Disk SchedulingMultimedia System Network Management
Network File System 1Network File System 2
Network Structure TopologyOperating System
Process Control BlockProcess Creation
Process RpcProcess Scheduling Queue
Process StructuresProcess Sync Monitors
Process SynchronizationProcesses
Protection Access MatrixProtection Concepts
Protection Memory ProtectionProtection Revocation Access Rights
RobustnessRtos
Secondary StorageSecurity
Security CryptographySecurity Intrusion Detection
Security Program System ThreatsSecurity System Facility
Security User AuthenticationSemaphores 1
Semaphores 2Swap Space Management
ThreadsThreads Cancellation
Threads Fork ExecThreads Pools
Threads Signal HandlingThreads Ult Klt
Two Port NetworkVirtual Memory
Virtual Memory Demand PagingVirtual Memory Frame Allocation
Virtual Memory Page Replacement Algorithms 1Virtual Memory Page Replacement Algorithms 2
Virtual Memory Thrashing
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
Read more about this MCQ
Each connection arriving at multi threaded servers via network is generally ____________
A. Is directly put into the blocking queue
B. Is wrapped as a task and passed on to a thread pool
C. Is kept in a normal queue and then sent to the blocking queue from where it is dequeued
D. None of the mentioned
Read more about this MCQ
What is the idea behind thread pools?
A. A number of threads are created at process startup and placed in a pool where they sit and wait for work
B. When a process begins, a pool of threads is chosen from the many existing and each thread is allotted equal amount of work
C. All threads in a pool distribute the task equally among themselves
D. None of the mentioned
Read more about this MCQ
If the thread pool contains no available thread ____________
A. The server runs a new process
B. The server goes to another thread pool
C. The server demands for a new pool creation
D. The server waits until one becomes free
Read more about this MCQ
Thread pools help in ____________
A. Servicing multiple requests using one thread
B. Servicing a single request using multiple threads from the pool
C. Faster servicing of requests with an existing thread rather than waiting to create a new thread
D. None of the mentioned
Read more about this MCQ
Thread pools limit the number of threads that exist at any one point, hence ____________
A. Not letting the system resources like cpu time and memory exhaust
B. Helping a limited number of processes at a time
C. Not serving all requests and ignoring many
D. None of the mentioned
Read more about this MCQ
The number of the threads in the pool can be decided on factors such as ____________
A. Number of cpus in the system
B. Amount of physical memory
C. Expected number of concurrent client requests
D. All of the mentioned
Read more about this MCQ