Peroperly use the maxThreads specified in a TCPServerParameters to have the TCPServerDispatcher create a Threadpool with the correct capacity.

This commit is contained in:
karlr42
2014-03-06 19:44:54 +00:00
parent 715a09ff47
commit b509b7e91a
6 changed files with 43 additions and 2 deletions

View File

@@ -162,6 +162,9 @@ public:
int currentThreads() const;
/// Returns the number of currently used connection threads.
int maxThreads() const;
/// Returns the maximum number of threads available.
int totalConnections() const;
/// Returns the total number of handled connections.

View File

@@ -85,6 +85,9 @@ public:
int currentThreads() const;
/// Returns the number of currently used threads.
int maxThreads() const;
/// Returns the maximum number of threads available.
int totalConnections() const;
/// Returns the total number of handled connections.