From 18a1cc77d49a0dcfb1f5f00c293bcdd6f0d21821 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 31 Mar 2022 11:01:15 +0200 Subject: Update test10 (it was a bit flaky), update libstdc++ binary, and added fake __libc_single_threadedhandling --- tests/test10.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test10.cpp') diff --git a/tests/test10.cpp b/tests/test10.cpp index f3c61316..90e1da60 100644 --- a/tests/test10.cpp +++ b/tests/test10.cpp @@ -11,6 +11,7 @@ std::stringstream stream; void append_number(int x) { while (lock_stream[x].load()) {} stream << "thread #" << x << '\n'; + stream.flush(); if (x != 9) lock_stream[x + 1].store(false); } -- cgit 1.4.1