Skip to content
Snippets Groups Projects
Commit 807b9614 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "test_vendor: Make tryStartThread return 0 on success"

parents d13d2334 ead6b76c
No related branches found
No related tags found
No related merge requests found
......@@ -415,8 +415,9 @@ class AsyncManager::AsyncTaskManager {
thread_ = std::thread([this]() { ThreadRoutine(); });
if (!thread_.joinable()) {
LOG_ERROR(LOG_TAG, "%s: Unable to start task thread", __FUNCTION__);
return -1;
}
return -1;
return 0;
}
void ThreadRoutine() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment