From 0f565ba253a975018d43d5c5e3eafec553b05f17 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 20 Jul 2022 14:30:45 +0200 Subject: [PATCH] Removed nodiscard and added output via stdout. --- repos/mml/src/app/posix_playground/main.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repos/mml/src/app/posix_playground/main.cc b/repos/mml/src/app/posix_playground/main.cc index a228b21327..cd059a28d2 100644 --- a/repos/mml/src/app/posix_playground/main.cc +++ b/repos/mml/src/app/posix_playground/main.cc @@ -7,6 +7,7 @@ #include #include #include +#include namespace Posix_playground { class Chrono_thread; @@ -21,7 +22,7 @@ class Posix_playground::Chrono_thread { public: Chrono_thread(std::uint16_t id) : _id(id) { } - [[nodiscard]] void execute() + void execute() { std::chrono::time_point start; std::chrono::time_point end; @@ -43,6 +44,8 @@ class Posix_playground::Chrono_thread { int main(void) { Genode::log("Starting POSIX stdcxx playground"); + std::cout << "Testing stdout" << std::endl; + Genode::log("Let's start some threads"); std::vector thread_objs(5);