question: public void flush ( ) { LinkedList < Runnable > queue = new LinkedList < > ( ) ; synchronized ( mQueue ) { queue . addAll ( mQueue ) ; mQueue . clear ( ) ; } for ( Runnable r : queue ) { r . run ( ) ; } }
target:  Runs all queued Runnables from the calling thread. 