egl/eglrefimpl/src/session.cpp
branchRCL_3
changeset 20 25ffed67c7ef
parent 19 bbf46f59e123
equal deleted inserted replaced
19:bbf46f59e123 20:25ffed67c7ef
   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]
       
   323     iDriver.Unlock();
   322     iDriver.Unlock();
   324 
   323 
   325     // sync obj refcount has been incremented so it won't get destroyed even if other thread call eglDestroySyncKHR or eglTerminate
   324     // sync obj refcount has been incremented so it won't get destroyed even if other thread call eglDestroySyncKHR or eglTerminate
   326     // at this point
   325     // at this point
   327 
   326