给输出加把锁,同1时刻只能有一条线程输出,这样程序就不会突然暴毙了

This commit is contained in:
2022-01-05 18:28:03 +08:00
parent ca5154d740
commit 7304444e66
15 changed files with 52 additions and 1045 deletions
+4 -1
View File
@@ -24,11 +24,14 @@ public:
void auto_edit();
QThread* main_thread;
//QThread* main_thread;
qint16 scan_flag=0;
quint64 *t_bar;
quint64 *nt_bar;
private:
Ui::Widget* ui;
};