http://git.community.i2p/PurpleI2P/i2pd/commit/334c92bb49071b075a422d68105ddf873d911011
Put ( msg ) ; if ( g_Log ) g_Log - > Put ( msg ) ; else { msg - > Process ( ) ; delete msg ; } } # endif 12 Queue.h Unescape Escape View File @ -65,7 +65,7 @@ namespace util return m_Queue . empty ( ) ; } void WakeUp ( ) { m_NonEmpty . notify_ one ( ) ; } ; void WakeUp ( ) { m_NonEmpty . notify_ all ( ) ; } ; Element * Get ( ) { @ -108,11 +108,15 @@ namespace util typedef std : : function < void ( ) > OnEmpty ; MsgQueue ( ) : m_IsRunning ( true ) , m_Thread ( std : : bind ( & MsgQueue < Msg > : : Run ,...