调整设备锁线程
This commit is contained in:
parent
eb74a00131
commit
358fa8f301
|
@ -319,9 +319,9 @@ int hg_scanner::save_2_tempory_file(std::shared_ptr<std::vector<char>> data, std
|
|||
void hg_scanner::thread_devslock_handle(void)
|
||||
{
|
||||
int ret = SCANNER_ERR_OK;
|
||||
wait_devsislock_.wait();
|
||||
while (is_firstopen_)
|
||||
{
|
||||
wait_devsislock_.wait();
|
||||
ret = get_server_blacklist();
|
||||
hg_version_free_handle();
|
||||
is_firstopen_ = false;
|
||||
|
|
Loading…
Reference in New Issue