Преглед изворни кода

Clarify camera operation lock ownership

SybexXx пре 1 дан
родитељ
комит
7b7f7b1ce2
1 измењених фајлова са 2 додато и 1 уклоњено
  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: