#include <iostream>
#include<thread>
using namespace std;
void t1_run()
{
cout << "hello world" << endl;
cout << "hello world" << endl;
cout << "hello world" << endl;
cout << "hello world" << endl;
}
void t2_run()
{
cout << "hello world1" << endl;
cout << "hello world1" << endl;
cout << "hello world1" << endl;
cout << "hello world1" << endl;
}
int main()
{
thread t1(t1_run);
thread t2(t2_run);
t1.detach();
t2.detach();
this_thread::sleep_for(chrono::microseconds(200));
}