调整多线程互斥
This commit is contained in:
parent
af2b076a81
commit
46ae654ac6
|
@ -120,8 +120,10 @@ int get_json_config_file()
|
|||
std::cout << buf << std::endl;
|
||||
}
|
||||
static std::wstring set_test_name_ =L"";
|
||||
bool is_distortion_get_image = false;
|
||||
bool is_distortion_get_image_abnormal = false;
|
||||
//bool is_distortion_get_image = false;
|
||||
//bool is_distortion_get_image_abnormal = false;
|
||||
std::atomic<bool> is_distortion_get_image_abnormal(false);
|
||||
std::atomic<bool> is_distortion_get_image(false);
|
||||
class test
|
||||
{
|
||||
ui_helper* helper_;
|
||||
|
@ -381,9 +383,9 @@ public:
|
|||
is_distortion_get_image = true;
|
||||
//type = true;
|
||||
//wcscpy(buf, L"畸变修正值获取完成:");
|
||||
//break;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
//break;
|
||||
//ret = h->io_control(IO_CTRL_CODE_GET_DPI_COLOR_CHECK_VAL, &close, &closelen);//结束恢复默认
|
||||
}
|
||||
else if (wcscmp(set_test_name_.c_str(), HGPDTTOOLDB_NAME_IMAGE_COLOR_QUALITY) == 0
|
||||
|
|
Loading…
Reference in New Issue