From 6b7fae0643f839b4a360696d2ad7a8d6ddc61943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Mon, 4 Jul 2022 16:35:56 +0200 Subject: [PATCH] Start thread count with 1. --- repos/mml/src/app/posix_playground/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/mml/src/app/posix_playground/main.cc b/repos/mml/src/app/posix_playground/main.cc index a34168cc1f..5ba113637b 100644 --- a/repos/mml/src/app/posix_playground/main.cc +++ b/repos/mml/src/app/posix_playground/main.cc @@ -37,7 +37,7 @@ int main(void) { std::vector thread_objs(4); std::vector thread_list(4); - for (std::uint16_t i = 0; i < 4; i++) { + for (std::uint16_t i = 1; i < 4; i++) { thread_objs[i] = new Posix_playground::Chrono_thread(i); auto thread = new std::thread([&] { thread_objs[i]->execute(); });