Fixes for PVS errors

This commit is contained in:
Alexey Starikovskiy
2023-09-01 22:30:24 +03:00
parent fbb8341323
commit 9e91c31e31
16 changed files with 60 additions and 62 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ class XVC_server {
int _sock; /*!< server socket descriptor */
struct sockaddr_in _sock_addr;
std::thread *_thread; /*!< connection thread */
bool _is_stopped; /*!< true when thread is stopped */
bool _must_stop; /*!< true to stop thread */
volatile bool _is_stopped; /*!< true when thread is stopped */
volatile bool _must_stop; /*!< true to stop thread */
uint32_t _buffer_size; /*!< buffer max capacity TDI+TMS */
uint8_t *_tmstdi; /*!< TDI/TMS from client */
uint8_t *_result; /*!< buffer for server -> client */