question: public boolean submitAction ( Action0 action ) { boolean submitted = true ; Thread currentThread = Thread . currentThread ( ) ; if ( currentThread . equals ( dutyThread ) ) { action . call ( ) ; } else { submitted = actions . offer ( action ) ; } return submitted ; }
target:  Submits an Action0 to be run but the duty thread.