Parcourir la source

Clarify camera operation lock ownership

SybexXx il y a 2 jours
Parent
commit
7b7f7b1ce2
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      code/components/jomjol_controlcamera/ClassControllCamera.cpp

+ 2 - 1
code/components/jomjol_controlcamera/ClassControllCamera.cpp

@@ -157,7 +157,8 @@ private:
     bool m_acquired;
 };
 
-// Owns one camera framebuffer and returns it exactly once on every exit path.
+// Serializes complete camera operations while the driver mutex is released
+// during image decoding, file I/O and network transmission.
 class ScopedCameraOperationLock
 {
 public: