about summary refs log tree commit diff stats
path: root/tests/test10.cpp
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-31 11:01:15 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-03-31 11:01:15 +0200
commit18a1cc77d49a0dcfb1f5f00c293bcdd6f0d21821 (patch)
tree0ab59df5211b2e49e2c891e752b90b03afafa7d7 /tests/test10.cpp
parent370286ee25efee1af73987d8b17d67a5b2c33227 (diff)
downloadbox64-18a1cc77d49a0dcfb1f5f00c293bcdd6f0d21821.tar.gz
box64-18a1cc77d49a0dcfb1f5f00c293bcdd6f0d21821.zip
Update test10 (it was a bit flaky), update libstdc++ binary, and added fake __libc_single_threadedhandling
Diffstat (limited to 'tests/test10.cpp')
-rw-r--r--tests/test10.cpp1
1 files changed, 1 insertions, 0 deletions
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);
 }