regtest: broaden none/tests/linux/bug498317 suppression for PPC
[valgrind.git] / none / tests / freebsd / sanity_level_thread.cpp
blobc45cbeadeea8761779be26007a7d5f810a38a65f
1 #include <string>
2 #include <fstream>
3 #include <thread>
5 using namespace std;
7 ofstream output("output.txt");
9 void task(string msg)
11 output << "task msg: " << msg;
14 int main()
16 thread t1(task, "Hello\n");
17 thread t2(task, "World\n");
19 t1.join();
20 t2.join();