question: public void addMessage ( Message message ) { if ( SHOW_LOGS ) Logger . v ( TAG , ">> addMessage, lock " + message ) ; mQueueLock . lock ( TAG ) ; mPlayerMessagesQueue . add ( message ) ; mQueueLock . notify ( TAG ) ; if ( SHOW_LOGS ) Logger . v ( TAG , "<< addMessage, unlock " + message ) ; mQueueLock . unlock ( TAG ) ; }
target:  Use it if you need to add a single message