egl/eglrefimpl/src/session.cpp
branchRCL_3
changeset 19 bbf46f59e123
parent 0 5d03bc08d59c
child 20 25ffed67c7ef
equal deleted inserted replaced
18:57c618273d5c 19:bbf46f59e123
   317     // increment refcount to mark this sync obj in use and prevent it from being destroyed when other thread calls eglDestroySyncKHR or eglTerminate
   317     // increment refcount to mark this sync obj in use and prevent it from being destroyed when other thread calls eglDestroySyncKHR or eglTerminate
   318     syncObj->Open();
   318     syncObj->Open();
   319     
   319     
   320     // release display lock as we're going to wait on sync object after this point, not releasing display lock at this 
   320     // release display lock as we're going to wait on sync object after this point, not releasing display lock at this 
   321     // point will cause deadlock
   321     // point will cause deadlock
       
   322     // coverity[stale]
   322     iDriver.Unlock();
   323     iDriver.Unlock();
   323 
   324 
   324     // sync obj refcount has been incremented so it won't get destroyed even if other thread call eglDestroySyncKHR or eglTerminate
   325     // sync obj refcount has been incremented so it won't get destroyed even if other thread call eglDestroySyncKHR or eglTerminate
   325     // at this point
   326     // at this point
   326 
   327