Next: Sample files, Previous: Tasking runtimes, Up: Compile-time configuration

#### 4.1.2 Middleware tasking policies

PolyORB provides several tasking policies. A tasking policy defines how tasks are used by the middleware to process incoming requests.

- `No_Tasking`: There is only one task in middleware, processing all requests.
- `Thread_Per_Session`: One task monitors communication entities. One task is spawned for each active connection. This task handles all incoming requests on this connection.
- `Thread_Per_Request`: One task monitors communication entities. One task is spawned for each incoming request.
- `Thread_Pool`: A set of tasks cooperate to handle all incoming requests.

See Tasking model in PolyORB for more information on this point.