[omniORB] Improve perfs

Duncan Grisby duncan at grisby.org
Tue Feb 21 17:43:18 GMT 2012


On Mon, 2012-02-20 at 13:41 +0100,
mohamed.elaissaoui at externe.bnpparibas.com wrote:

> While sending something, omniORB get lock of tracedmutex, even if
> tracelevel, traceinvocations and tracereturninvocations are set to 0. 
> It would be nice to avoid this useless waiting when all logs are
> disabled. 

omni_tracedmutex is not part of tracing / logging. It's a class that can
optionally trace ownership, allowing assertions about locking behaviour.
All the uses of omni_tracedmutex along the call chain are essential to
protect access to shared state.

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list