|
From: Michael R. <mr...@us...> - 2004-08-11 10:27:00
|
Update of /cvsroot/openorb/OpenORB/src/main/org/openorb/orb/io In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25188/src/main/org/openorb/orb/io Modified Files: BufferSource.java Log Message: Fixed documentation Index: BufferSource.java =================================================================== RCS file: /cvsroot/openorb/OpenORB/src/main/org/openorb/orb/io/BufferSource.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- BufferSource.java 22 Jul 2004 08:06:07 -0000 1.8 +++ BufferSource.java 11 Aug 2004 10:26:51 -0000 1.9 @@ -134,23 +134,25 @@ } return null; } - // indicate last listener has been notified + // indicate last listener has been notified m_last_notified = true; - // setup local version of listener object + // setup local version of listener object listenerObj = m_last_msg_processed_listener; - // setup local version of exception object (if any) + // setup local version of exception object (if any) exceptionObj = ( m_exception != null ) ? m_exception : null; } - // call listener from outside of thread-sync block to prevent - // any chance of deadlock from listener needing 'm_sync_state' - // lock while holding the thread lock for this object + // call listener from outside of thread-sync block to prevent + // any chance of deadlock from listener needing 'm_sync_state' + // lock while holding the thread lock for this object if ( listenerObj != null ) - { // listener object is setup; call its method + { + // listener object is setup; call its method listenerObj.lastMessageProcessed( this ); } if ( exceptionObj != null ) - { // exception was setup; throw it now + { + // exception was setup; throw it now throw exceptionObj; } return null; |