mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
Update blah2.cpp
Cosmetic (as there's no further code to execute.. But terminating the t2 thread correctly.
This commit is contained in:
parent
25eea87083
commit
363a81dfaf
1 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
t2.join();
|
||||||
t1.join();
|
t1.join();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -418,4 +418,4 @@ void timing_helper(std::vector<std::string>& timing_name,
|
||||||
double delta_ms = (double)(time_us.back()-time_us[time_us.size()-2]) / 1000;
|
double delta_ms = (double)(time_us.back()-time_us[time_us.size()-2]) / 1000;
|
||||||
timing_name.push_back(name);
|
timing_name.push_back(name);
|
||||||
timing_time.push_back(delta_ms);
|
timing_time.push_back(delta_ms);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue