فهرست منبع

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: