src/org/apache/commons/threadpool/DefaultThreadPool.java
public void run() {
        while (!stopped) {
            Runnable task = (Runnable) queue.remove();
            if (task != null) {
                try {
                    task.run();
                } catch (Throwable t) {
                    monitor.handleThrowable(this.getClass(), task, t);
                }
            }
        }
    }
/**
     * The method ran by the pool of background threads
     */
The method ran by the pool of background threads
The method ran by the pool of background threads
public void run() {
        while (!stopped) {
            Runnable task = (Runnable) queue.remove();
            if (task != null) {
                try {
                    task.run();
                } catch (Throwable t) {
                    monitor.handleThrowable(this.getClass(), task, t);
                }
            }
        }
    }
public void run ( ) { while ( ! stopped ) { Runnable task = ( Runnable ) queue . remove ( ) ; if ( task != null ) { try { task . run ( ) ; } catch ( Throwable t ) { monitor . handleThrowable ( this . getClass ( ) , task , t ) ; } } } }
The method ran by the pool of background threads
The method ran by the pool of background threads