egl/eglrefimpl/src/session.cpp
changeset 160 969102054596
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
138:7652d902218f 160:969102054596
   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