question: public void addCommand ( CoreCmd ccmd ) { commandQueue . add ( ccmd ) ; lock . lock ( ) ; try { workAvailable . signal ( ) ; } finally { lock . unlock ( ) ; } }
target:  Adds command to the command queue. Does not block. Called by the command object.