恢复 stop 时候的线程睡眠

This commit is contained in:
13038267101 2023-05-09 17:39:47 +08:00
parent 31f347c901
commit fdcee9c1c3
1 changed files with 4 additions and 4 deletions

View File

@ -1221,10 +1221,10 @@ void hg_scanner_239::thread_get_dves_image(void)
// fetch all buffered images and exit ...
//while(!is_dev_image_process_done())
//if (img_conf_.resolution_dst > 200 && is_quality_ == IMG_QUALITY)
// std::this_thread::sleep_for(std::chrono::milliseconds(5000));
//else
// std::this_thread::sleep_for(std::chrono::milliseconds(2000));
if (img_conf_.resolution_dst > 200 && is_quality_ == IMG_QUALITY) //删除这段代码,你可能需要考虑一下后果
std::this_thread::sleep_for(std::chrono::milliseconds(5000));
else
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
while (get_image_count() > 0)
{