Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -415,9 +415,10 @@ 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 0;
  }

  void ThreadRoutine() {
    while (1) {