question: public boolean processTasks ( ) { boolean result = false ; Runnable task ; while ( ( task = tasks . poll ( ) ) != null ) { result = true ; task . run ( ) ; } return result ; }
target:  Executes all tasks. Returns true, if at least one task was executed.