Browse Source

修复死锁的BUG

master
zhaohe 2 years ago
parent
commit
a160247f4b
  1. 1
      zcancmder_protocol_basic.hpp

1
zcancmder_protocol_basic.hpp

@ -34,7 +34,6 @@
uint32_t errorcode = 0; \
if (cmd->id == varid) {
#define PROCESS_REPORT(type) \
zlock_guard l(m_lock); \
auto* report = (type##_report_t*)m_txbuf; \
static_assert(sizeof(*report) < sizeof(m_txbuf), "report size too large"); \
ZLOGI(TAG, #type " exec_status:%d", status); \

Loading…
Cancel
Save