graphicscomposition/openwfsupport/src/surfacestream.cpp
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
child 121 d72fc2aace31
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
  1223             entry = iCallBacks[i];
  1223             entry = iCallBacks[i];
  1224             iRefCountMutex.Signal();
  1224             iRefCountMutex.Signal();
  1225             NFLOG(("###CSurfaceStream::NotifyComposerContext() ESOWF_EventUpdated aParam(%d)", aParam? aParam->id: -1));
  1225             NFLOG(("###CSurfaceStream::NotifyComposerContext() ESOWF_EventUpdated aParam(%d)", aParam? aParam->id: -1));
  1226             entry.iCallBackFunction(ToHandle(), ESOWF_EventUpdated, entry.iCallBackClientParam, aParam);
  1226             entry.iCallBackFunction(ToHandle(), ESOWF_EventUpdated, entry.iCallBackClientParam, aParam);
  1227             ret = ETrue;
  1227             ret = ETrue;
       
  1228 			// We are meant to hold this lock when we leave this function so coverity warning is false
       
  1229 			//coverity[lock]
  1228             iRefCountMutex.Wait();
  1230             iRefCountMutex.Wait();
  1229             }
  1231             }
  1230         }
  1232         }
  1231     NFLOG(("### EXIT CSurfaceStream::NotifyComposerContext() ret(%d)", ret));
  1233     NFLOG(("### EXIT CSurfaceStream::NotifyComposerContext() ret(%d)", ret));
  1232     return ret;
  1234     return ret;