From 363a81dfaf8a4f4184653b1d90209193539be002 Mon Sep 17 00:00:00 2001 From: sdn-ninja Date: Thu, 9 May 2024 21:57:38 +0100 Subject: [PATCH] Update blah2.cpp Cosmetic (as there's no further code to execute.. But terminating the t2 thread correctly. --- src/blah2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blah2.cpp b/src/blah2.cpp index affa499..9d3231b 100644 --- a/src/blah2.cpp +++ b/src/blah2.cpp @@ -307,7 +307,7 @@ int main(int argc, char **argv) } } }); - + t2.join(); t1.join(); return 0; @@ -418,4 +418,4 @@ void timing_helper(std::vector& timing_name, double delta_ms = (double)(time_us.back()-time_us[time_us.size()-2]) / 1000; timing_name.push_back(name); timing_time.push_back(delta_ms); -} \ No newline at end of file +}