title: Dynamic Thread Pool Management
body: <p>I have three types of Tasks A,B,C to be executed with minimum thresholds in a Thread Pool:</p>
  
  <ul>
  <li>(A) 70 %</li>
  <li>(B) 20 %</li>
  <li>(C) 10 %</li>
  </ul>
  
  <p>Pool Size: 100 Threads.</p>
  
  <p>How to ensure in any given time the following distribution:</p>
  
  <ol>
  <li>No Idle Threads: If ,for example, only type C tasks exists, The pool will be 100% C's</li>
  <li>No starvation: B and C Tasks will eventually be served</li>
  </ol>