恢复 stop 时候的线程睡眠
This commit is contained in:
parent
31f347c901
commit
fdcee9c1c3
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue