Operating System » Threads Pools
Operating System Subcategories
Memory Management Swapping 1Process Scheduling Queue
Virtual Memory Page Replacement Algorithms 1Linux
Cpu SchedulingMemory Management
Computer FundamentalsCpu Scheduling Benefits
Threads Signal HandlingThreads Ult Klt
Distributed Operating SystemBasics
Operating SystemProcesses
Cpu Scheduling Algorithms 1Cpu Scheduling Algorithms 2
DeadlockDeadlock Avoidance
Memory Management Swapping 2Memory Allocation 1
Secondary StorageMemory Management Paging 1
Memory Management Paging 2Rtos
Multimedia System Cpu Disk SchedulingSecurity Intrusion Detection
Virtual Memory ThrashingFile System Interface Access Methods 1
File System Interface Directory Structure 1File System Interface Directory Structure 2
File System Interface Mounting SharingFile System Allocation Methods 1
Disk Scheduling 2Disk Management
Classic Sync ProblemsSemaphores 1
Process CreationMultimedia System Network Management
Semaphores 2Cpu Scheduling 2
Application Io Interface 1Inter Process Communication
Process SynchronizationMultimedia System Compression 1
Network File System 1Disk Scheduling 1
Mass Storage Raid 1File System 1
Communication Systems Bandwidth Transmission MediumSecurity Cryptography
Two Port NetworkProcess Rpc
Virtual Memory Page Replacement Algorithms 2Virtual Memory Frame Allocation
Network File System 2File System Allocation Methods 2
File System Allocation Methods 3Process Control Block
Process StructuresCritical Section Problem
Process Sync MonitorsAtomic Transactions
Deadlock RecoveryMemory Allocation 2
Memory Management SegmentationApplication Io Interface 2
Kernel Io SubsystemsMultimedia System Compression 2
Multimedia System Compression 3Security User Authentication
Security Program System ThreatsSecurity System Facility
Threads Fork ExecThreads Cancellation
Threads PoolsMulti Threading Models
Virtual Memory Demand PagingVirtual Memory
File System ConceptsFile System Implementation
File System Interface Access Methods 2File System Recovery
Io SubsystemSwap Space Management
Mass Storage Raid 2Mass Storage Tertiary Storage
Protection ConceptsProtection Access Matrix
SecurityProtection Memory Protection
Protection Revocation Access RightsNetwork Structure Topology
RobustnessDistributed File System
Distributed SynchronizationDeadlock Prevention
Deadlock DetectionThreads
File System Interface ProtectionFile System Free Space Performance
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

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

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

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

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

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

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