From 2379434200219132ee252f12d47a1e5efd160f42 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 06 八月 2025 15:32:44 +0800
Subject: [PATCH] 1. 实时扫描界面新添两个相机(侧面检)
---
EdgeInspector_App/InterfaceManager.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/EdgeInspector_App/InterfaceManager.h b/EdgeInspector_App/InterfaceManager.h
index 3087daa..275f6a1 100644
--- a/EdgeInspector_App/InterfaceManager.h
+++ b/EdgeInspector_App/InterfaceManager.h
@@ -1,4 +1,4 @@
-#pragma once
+锘�#pragma once
#include "Global_Define.h"
#include "EdgeInspector_AppView.h"
@@ -123,6 +123,11 @@
long long GetCurrentTimestamp();
+private:
+ CRITICAL_SECTION m_criticalSection;
+ inline void Lock() { ::InitializeCriticalSection(&m_criticalSection); }
+ inline void Unlock() { ::DeleteCriticalSection(&m_criticalSection); }
+
#if USE_WEBSOCKET
protected:
void CreateWebSocketClients(WebSocketClientPool** wsClients, CString cstrURI, int nThreadCount);
--
Gitblit v1.9.3