removed detectloop() for debug. the app is crashing without explanation.
This commit is contained in:
Maurice ONeal 2023-03-18 20:52:13 -04:00
parent 533c27d9cb
commit 58d957d0a4
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ using namespace std;
using namespace std::filesystem; using namespace std::filesystem;
using namespace std::chrono; using namespace std::chrono;
#define APP_VER "2.0.t10" #define APP_VER "2.0.t11"
#define APP_NAME "Motion Watch" #define APP_NAME "Motion Watch"
#define REC_LOG_NAME "rec_log_lines.html" #define REC_LOG_NAME "rec_log_lines.html"
#define DET_LOG_NAME "det_log_lines.html" #define DET_LOG_NAME "det_log_lines.html"

View File

@ -197,13 +197,13 @@ int main(int argc, char** argv)
auto thr1 = thread(recLoop, &sharedRes); auto thr1 = thread(recLoop, &sharedRes);
auto thr2 = thread(upkeep, &sharedRes); auto thr2 = thread(upkeep, &sharedRes);
auto thr3 = thread(detectMo, &sharedRes); auto thr3 = thread(detectMo, &sharedRes);
auto thr4 = thread(eventLoop, &sharedRes); //auto thr4 = thread(eventLoop, &sharedRes);
auto thr5 = thread(schLoop, &sharedRes); auto thr5 = thread(schLoop, &sharedRes);
thr1.join(); thr1.join();
thr2.join(); thr2.join();
thr3.join(); thr3.join();
thr4.join(); //thr4.join();
thr5.join(); thr5.join();
return sharedRes.retCode; return sharedRes.retCode;